mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

Matthew Swift
25.27.2011 3883d2297c3422d8aec2b40530c2d2b0a00ee57d
opends/src/server/org/opends/server/core/PasswordPolicy.java
@@ -37,6 +37,9 @@
import org.opends.server.admin.std.meta.PasswordPolicyCfgDefn.*;
import org.opends.server.api.*;
import org.opends.server.types.AttributeType;
import org.opends.server.types.DN;
import org.opends.server.types.DirectoryException;
import org.opends.server.types.Entry;
@@ -58,6 +61,13 @@
  /**
   * {@inheritDoc}
   */
  public abstract DN getDN();
  /**
   * Indicates whether the associated password attribute uses the auth password
   * syntax.
   *
@@ -607,4 +617,24 @@
   */
  public abstract StateUpdateFailurePolicy getStateUpdateFailurePolicy();
  /**
   * {@inheritDoc}
   */
  public boolean isPasswordPolicy()
  {
    return true;
  }
  /**
   * {@inheritDoc}
   */
  public PasswordPolicyState createAuthenticationPolicyState(Entry userEntry,
      long time) throws DirectoryException
  {
    return new PasswordPolicyState(this, userEntry, time);
  }
}