Class Indication.PasswordPolicyResponse

  • Enclosing class:
    Indication

    public static class Indication.PasswordPolicyResponse
    extends java.lang.Object
    A convenience class which contains any information from a password policy response that was returned as part of the Indication from a directory server.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int expiry
      The number of seconds before the user's password expires.
      int grace
      The remaining number of grace authentications which will be permitted for this user.
      Indication.PasswordPolicyStatus status
      The PasswordPolicyStatus contained in this response, or null if none was returned by the server.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()
      Returns a String representation of this PasswordPolicyResponse.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • status

        public final Indication.PasswordPolicyStatus status
        The PasswordPolicyStatus contained in this response, or null if none was returned by the server.
      • expiry

        public final int expiry
        The number of seconds before the user's password expires. A value of -1 indicates that no such information was returned by the server.
      • grace

        public final int grace
        The remaining number of grace authentications which will be permitted for this user. A value of -1 indicates that no grace information was returned by the server.
    • Method Detail

      • toString

        public java.lang.String toString()
        Returns a String representation of this PasswordPolicyResponse.
        Overrides:
        toString in class java.lang.Object