You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2013/05/06 15:13:46 UTC

svn commit: r1479561 - /directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/authn/ppolicy/PasswordPolicyConfiguration.java

Author: elecharny
Date: Mon May  6 13:13:45 2013
New Revision: 1479561

URL: http://svn.apache.org/r1479561
Log:
Added some Javadoc

Modified:
    directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/authn/ppolicy/PasswordPolicyConfiguration.java

Modified: directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/authn/ppolicy/PasswordPolicyConfiguration.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/authn/ppolicy/PasswordPolicyConfiguration.java?rev=1479561&r1=1479560&r2=1479561&view=diff
==============================================================================
--- directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/authn/ppolicy/PasswordPolicyConfiguration.java (original)
+++ directory/apacheds/trunk/core-api/src/main/java/org/apache/directory/server/core/api/authn/ppolicy/PasswordPolicyConfiguration.java Mon May  6 13:13:45 2013
@@ -33,8 +33,9 @@ import org.apache.directory.api.ldap.mod
  */
 public class PasswordPolicyConfiguration
 {
-    /** the name of the attribute to which the password policy is applied. 
-     * Currently only "userPassword" attribute is supported
+    /**
+     * The name of the attribute to which the password policy is applied. 
+     * The default value is "userPassword"
      */
     private String pwdAttribute = SchemaConstants.USER_PASSWORD_AT;
 
@@ -156,18 +157,28 @@ public class PasswordPolicyConfiguration
     private PasswordValidator pwdValidator = DefaultPasswordValidator.INSTANCE;
 
 
+    /**
+     * @return The name of the attribute used to store the password
+     */
     public String getPwdAttribute()
     {
         return pwdAttribute;
     }
 
 
+    /**
+     * Set the name of the attribute storing the password
+     * @param pwdAttribute The attribute's name
+     */
     public void setPwdAttribute( String pwdAttribute )
     {
         this.pwdAttribute = pwdAttribute;
     }
 
 
+    /**
+     * @return The time that should elapse before we can change the password
+     */
     public int getPwdMinAge()
     {
         return pwdMinAge;