ronald created FEDIZ-124:
----------------------------
Summary: 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
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)