You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2015/11/04 11:41:54 UTC
svn commit: r1712528 -
/tomcat/trunk/java/org/apache/catalina/authenticator/jaspic/JaspicAuthenticator.java
Author: remm
Date: Wed Nov 4 10:41:53 2015
New Revision: 1712528
URL: http://svn.apache.org/viewvc?rev=1712528&view=rev
Log:
Remove the programmatic login/logout override, as I don't see how JASPIC can interact with it.
Modified:
tomcat/trunk/java/org/apache/catalina/authenticator/jaspic/JaspicAuthenticator.java
Modified: tomcat/trunk/java/org/apache/catalina/authenticator/jaspic/JaspicAuthenticator.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/jaspic/JaspicAuthenticator.java?rev=1712528&r1=1712527&r2=1712528&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/jaspic/JaspicAuthenticator.java (original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/jaspic/JaspicAuthenticator.java Wed Nov 4 10:41:53 2015
@@ -29,7 +29,6 @@ import javax.security.auth.message.confi
import javax.security.auth.message.config.AuthConfigProvider;
import javax.security.auth.message.config.ServerAuthConfig;
import javax.security.auth.message.config.ServerAuthContext;
-import javax.servlet.ServletException;
import javax.servlet.http.HttpServletResponse;
import org.apache.catalina.LifecycleException;
@@ -125,18 +124,6 @@ public class JaspicAuthenticator extends
}
- @Override
- public void login(String userName, String password, Request request) throws ServletException {
- throw new IllegalStateException("not implemented yet!");
- }
-
-
- @Override
- public void logout(Request request) {
- throw new IllegalStateException("not implemented yet!");
- }
-
-
private void handleUnauthorizedRequest(HttpServletResponse response, AuthException e)
throws IOException {
response.sendError(HttpServletResponse.SC_UNAUTHORIZED);
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org