tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r1025684 - in /tomcat/trunk/java/org/apache/catalina/authenticator: AuthenticatorBase.java SingleSignOn.java SingleSignOnEntry.java
Date Wed, 20 Oct 2010 19:26:06 GMT
Author: markt
Date: Wed Oct 20 19:26:05 2010
New Revision: 1025684

URL: http://svn.apache.org/viewvc?rev=1025684&view=rev
Log:
Clean-up

Modified:
    tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java
    tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOn.java
    tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java

Modified: tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java?rev=1025684&r1=1025683&r2=1025684&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java (original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/AuthenticatorBase.java Wed Oct 20
19:26:05 2010
@@ -596,6 +596,7 @@ public abstract class AuthenticatorBase 
      *
      * @exception IOException if an input/output error occurs
      */
+    @Override
     public abstract boolean authenticate(Request request,
                                             HttpServletResponse response,
                                             LoginConfig config)
@@ -829,6 +830,7 @@ public abstract class AuthenticatorBase 
 
     }
 
+    @Override
     public void login(String username, String password, Request request)
             throws ServletException {
         Principal principal = doLogin(request, username, password);
@@ -847,6 +849,7 @@ public abstract class AuthenticatorBase 
         return p;
     }
 
+    @Override
     public void logout(Request request) throws ServletException {
         register(request, request.getResponse(), null,
                 null, null, null);

Modified: tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOn.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOn.java?rev=1025684&r1=1025683&r2=1025684&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOn.java (original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOn.java Wed Oct 20 19:26:05
2010
@@ -210,6 +210,7 @@ public class SingleSignOn extends ValveB
      *
      * @param event SessionEvent that has occurred
      */
+    @Override
     public void sessionEvent(SessionEvent event) {
 
         // We only care about session destroyed events

Modified: tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java?rev=1025684&r1=1025683&r2=1025684&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java (original)
+++ tomcat/trunk/java/org/apache/catalina/authenticator/SingleSignOnEntry.java Wed Oct 20
19:26:05 2010
@@ -62,11 +62,8 @@ public class SingleSignOnEntry
      */
     public SingleSignOnEntry(Principal principal, String authType,
                              String username, String password) {
-        super();
-        updateCredentials(principal, authType, username, password);
-    }
 
-    public SingleSignOnEntry() {
+        updateCredentials(principal, authType, username, password);
     }
 
     // ------------------------------------------------------- Package Methods



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message