directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1104368 - /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Date Tue, 17 May 2011 16:06:34 GMT
Author: kayyagari
Date: Tue May 17 16:06:33 2011
New Revision: 1104368

URL: http://svn.apache.org/viewvc?rev=1104368&view=rev
Log:
o break out of the loop after successfully getting authenticated by an authenticator

Modified:
    directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java?rev=1104368&r1=1104367&r2=1104368&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Tue May 17 16:06:33 2011
@@ -901,6 +901,9 @@ public class AuthenticationInterceptor e
                 bindContext.setSession( session );
 
                 authenticated = true;
+                
+                // break out of the loop if the authentication succeeded
+                break;
             }
             catch ( PasswordPolicyException e )
             {



Mime
View raw message