geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xuhaih...@apache.org
Subject svn commit: r1030801 - /geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java
Date Thu, 04 Nov 2010 02:06:48 GMT
Author: xuhaihong
Date: Thu Nov  4 02:06:47 2010
New Revision: 1030801

URL: http://svn.apache.org/viewvc?rev=1030801&view=rev
Log:
GERONIMO-5662 Make the restore request function works

Modified:
    geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java

Modified: geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java?rev=1030801&r1=1030800&r2=1030801&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java
(original)
+++ geronimo/server/trunk/plugins/tomcat/geronimo-tomcat7/src/main/java/org/apache/geronimo/tomcat/security/authentication/FormAuthenticator.java
Thu Nov  4 02:06:47 2010
@@ -240,14 +240,6 @@ public class FormAuthenticator implement
         if (sreq == null)
             return (false);
 
-        // Is there a saved principal?
-        if (session.getNote(Constants.FORM_PRINCIPAL_NOTE) == null) {
-            if (logger.isDebugEnabled()) {
-                logger.debug(Constants.FORM_PRINCIPAL_NOTE + " is not found in the session,
match request fails");
-            }
-            return false;
-        }
-
         // Does the request URI match?
         String requestURI = request.getRequestURI();
         if (requestURI == null)



Mime
View raw message