[
https://issues.apache.org/jira/browse/FEDIZ-124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14723308#comment-14723308
]
Colm O hEigeartaigh commented on FEDIZ-124:
-------------------------------------------
I deployed the Fediz simpleWebapp to Tomcat 7 + can't reproduce the problem:
a) curl -X HEAD -ik https://localhost:8443/fedizhelloworld/secure/fedservlet
HTTP/1.1 302 Found
Server: Apache-Coyote/1.1
Cache-Control: private
Expires: Thu, 01 Jan 1970 01:00:00 GMT
Set-Cookie: JSESSIONID=6623CD7F6EF56A892A8640502161901E;
Path=/fedizhelloworld/; Secure; HttpOnly
Location:
https://localhost:8443/fediz-idp/federation?wa=wsignin1.0&wreply=https%3A%2F%2Flocalhost%3A8443%2Ffedizhelloworld%2Fsecure%2Ffedservlet&wtrealm=urn%3Aorg%3Aapache%3Acxf%3Afediz%3Afedizhelloworld&wct=2015-08-31T11%3A22%3A29.716Z&wctx=d1ecd8d2-28df-4a67-8174-63eec6a5cb2b
Content-Length: 0
Date: Mon, 31 Aug 2015 11:22:29 GMT
b) url -X HEAD -ik https://localhost:8443/fediz-idp/federation
HTTP/1.1 400 Bad Request
Server: Apache-Coyote/1.1
Pragma: no-cache
Expires: Thu, 01 Jan 1970 00:00:00 GMT
Cache-Control: no-cache
Cache-Control: no-store
Set-Cookie: JSESSIONID=B9354FA0461A6AB17915B2F6CE938897; Path=/fediz-idp/;
Secure; HttpOnly
Content-Type: text/html;charset=UTF-8
Content-Length: 336
Date: Mon, 31 Aug 2015 11:22:43 GMT
Connection: close
Colm.
> 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)