cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ronald (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FEDIZ-124) Fediz-plugin for Tomcat 8
Date Fri, 28 Aug 2015 15:35:47 GMT

    [ https://issues.apache.org/jira/browse/FEDIZ-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14720019#comment-14720019
] 

ronald commented on FEDIZ-124:
------------------------------

Yes, in Fediz redirects to the IDP. so it is doing something, with a local host call, 
28/Aug/2015:17:09:04 +0200] - GET /QIS_Extranet HTTP/1.1 302 - Mozilla/4.0 (compatible; MSIE
8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; .NET4.0C) - 127.0.0.1
- -

Fediz kicks in
[28/Aug/2015:17:09:04 +0200] 4D731FDA8E6BFD47E5F0A778B30E5A49 GET /QIS_Extranet/ HTTP/1.1
302 - Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR
2.0.50727; .NET4.0C) - 127.0.0.1 - -

and with this call there is a jsessionid.....

as you can see in the old situation the head requests get an jsessionid
28/Aug/2015:17:07:07 +0200] 820612D17058C8198539A9CE69970B71 GET /LB/index.jsp HTTP/1.1 200
- - - 10.52.59.3 - -

, with the version of 1.2.1 this is not the case, only a http500 and no jsessionid.
[[28/Aug/2015:17:09:08 +0200] - GET /LB/index.jsp HTTP/1.1 500 - - - 10.52.59.3 - -



> Fediz-plugin for Tomcat 8
> -------------------------
>
>                 Key: FEDIZ-124
>                 URL: https://issues.apache.org/jira/browse/FEDIZ-124
>             Project: CXF-Fediz
>          Issue Type: Question
>          Components: Plugin
>    Affects Versions: 1.0.2
>         Environment: Windows tomcat version
>            Reporter: ronald
>              Labels: patch
>
> we currently using Fediz-plugin version 1.0.2 within Tomcat7. Now we have to upgrade
Tomcat to version 8.
> Fediz-plugin is build for Tomcat 6 & 7. Not for  Tomcat 8.0.23 .
> With which enhancments is this plugin do we have to make within the distribution?
> the supplier of the application that uses the Fediz-plugin had made a diff and had the
following differences:
> ////////////////////////
> C:\projects\fediz-1.2.0\plugins>diff tomcat7\src\main\java\org\apache\cxf\fediz\tomcat\FederationAuthenticator.java
tomcat8\src\main\java\org\apache\cxf\fediz\tomcat\FederationAuthenticator.java
> --- tomcat7\src\main\java\org\apache\cxf\fediz\tomcat\FederationAuthenticator.java  
   Wed Jul 15 10:18:57 2015
> +++ tomcat8\src\main\java\org\apache\cxf\fediz\tomcat\FederationAuthenticator.java  
   Mon Jul 13 22:52:39 2015
> @@ -40,7 +40,6 @@
> import org.apache.catalina.authenticator.SavedRequest;
> import org.apache.catalina.connector.Request;
> import org.apache.catalina.connector.Response;
> -import org.apache.catalina.deploy.LoginConfig;
> import org.apache.cxf.fediz.core.FederationConstants;
> import org.apache.cxf.fediz.core.FedizPrincipal;
> import org.apache.cxf.fediz.core.config.FedizConfigurator;
> @@ -85,14 +84,6 @@
>          LOG.debug("WsFedAuthenticator()");
>      }
> -    /**
> -     * Return descriptive information about this Valve implementation.
> -     */
> -    @Override
> -    public String getInfo() {
> -        return INFO;
> -    }
> -
>      public String getConfigFile() {
>          return configFile;
>      }
> @@ -192,8 +183,7 @@
>      }
>      @Override
> -    public boolean authenticate(Request request, HttpServletResponse response,
> -            LoginConfig config) throws IOException {
> +    public boolean authenticate(Request request, HttpServletResponse response) throws
IOException {
>          LOG.debug("authenticate invoked");
> //////////////////////////////
> are these the only differences or do we miss something?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message