Class RecentLoginHistory

java.lang.Object
com.unboundid.ldap.sdk.unboundidds.controls.RecentLoginHistory
All Implemented Interfaces:
Serializable

This class provides a data structure with information about recent successful and failed login attempts for a user.
NOTE: This class, and other classes within the com.unboundid.ldap.sdk.unboundidds package structure, are only supported for use against Ping Identity, UnboundID, and Nokia/Alcatel-Lucent 8661 server products. These classes provide support for proprietary functionality or for external specifications that are not considered stable or mature enough to be guaranteed to work in an interoperable way with other types of LDAP servers.
See Also:
  • Constructor Details

    • RecentLoginHistory

      Creates a new recent login history with the provided sets of successful and failed attempts.
      Parameters:
      successfulAttempts - A list of recent successful authentication attempts. It may be null or empty if there were no recent successful attempts.
      failedAttempts - A list of recent failed authentication attempts. It may be null or empty if there were no recent failed attempts.
    • RecentLoginHistory

      Creates a new recent login history that is decoded from the provided JSON object.
      Parameters:
      jsonObject - A JSON object containing an encoded representation of the recent login history. It must not be null.
      Throws:
      LDAPException - If a problem occurs while attempting to decode the provided JSON object as a recent login history.
  • Method Details