Class Indication.PasswordPolicyResponse

java.lang.Object
com.isode.dsapi.Indication.PasswordPolicyResponse
Enclosing class:
Indication

public static class Indication.PasswordPolicyResponse extends 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
    final int
    The number of seconds before the user's password expires.
    final int
    The remaining number of grace authentications which will be permitted for this user.
    The PasswordPolicyStatus contained in this response, or null if none was returned by the server.
  • Method Summary

    Modifier and Type
    Method
    Description
    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 Details

    • 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 Details

    • toString

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