directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anto...@apache.org
Subject svn commit: r1039816 - /directory/apacheds/branches/antoine/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Date Sun, 28 Nov 2010 02:51:56 GMT
Author: antoine
Date: Sun Nov 28 02:51:55 2010
New Revision: 1039816

URL: http://svn.apache.org/viewvc?rev=1039816&view=rev
Log:
use default authenticators if the authenticators are not provided in the DIT

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

Modified: directory/apacheds/branches/antoine/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/antoine/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java?rev=1039816&r1=1039815&r2=1039816&view=diff
==============================================================================
--- directory/apacheds/branches/antoine/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
(original)
+++ directory/apacheds/branches/antoine/core/src/main/java/org/apache/directory/server/core/authn/AuthenticationInterceptor.java
Sun Nov 28 02:51:55 2010
@@ -204,7 +204,7 @@ public class AuthenticationInterceptor e
 
         loadPwdPolicyStateAtributeTypes();
 
-        if ( authenticators == null )
+        if ( authenticators == null || authenticators.size() == 0 )
         {
             setDefaultAuthenticators();
         }



Mime
View raw message