directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r964345 - in /directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn: AbstractAuthenticator.java Authenticator.java
Date Thu, 15 Jul 2010 09:07:01 GMT
Author: kayyagari
Date: Thu Jul 15 09:07:01 2010
New Revision: 964345

URL: http://svn.apache.org/viewvc?rev=964345&view=rev
Log:
o added a getter for accessing the pwdpolicy config object

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

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AbstractAuthenticator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AbstractAuthenticator.java?rev=964345&r1=964344&r2=964345&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AbstractAuthenticator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/AbstractAuthenticator.java
Thu Jul 15 09:07:01 2010
@@ -264,5 +264,13 @@ public abstract class AbstractAuthentica
     {
         this.pPolicyConfig = pPolicyConfig;
     }
-    
+
+
+    /**
+     * {@inheritDoc}
+     */
+    public PasswordPolicyConfiguration getPwdPolicyConfig()
+    {
+        return pPolicyConfig;
+    }
 }

Modified: directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/Authenticator.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/Authenticator.java?rev=964345&r1=964344&r2=964345&view=diff
==============================================================================
--- directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/Authenticator.java
(original)
+++ directory/apacheds/trunk/core/src/main/java/org/apache/directory/server/core/authn/Authenticator.java
Thu Jul 15 09:07:01 2010
@@ -94,6 +94,12 @@ public interface Authenticator
     
     
     /**
+     * @return the pwdpolicy configuration, can be null if pwdpolicy wasn't enabled
+     */
+    PasswordPolicyConfiguration getPwdPolicyConfig();
+    
+    
+    /**
      *  performs checks on the given entry based on the specified password policy configuration
      *
      * @param userEntry the user entry to be checked for authentication



Mime
View raw message