@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class PasswordPolicyStateOperation extends java.lang.Object implements java.io.Serializable
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.
Modifier and Type | Field and Description |
---|---|
static int |
OP_TYPE_ADD_AUTH_FAILURE_TIME
The operation type that may be used to add a new authentication failure
time to the user's account.
|
static int |
OP_TYPE_ADD_GRACE_LOGIN_USE_TIME
The operation type that may be used add a value to the set of times that
the user has authenticated using a grace login after his/her password has
expired.
|
static int |
OP_TYPE_ADD_REGISTERED_YUBIKEY_PUBLIC_ID
The operation type that may be used to add a value to the set of registered
YubiKey OTP device public IDs for a user.
|
static int |
OP_TYPE_ADD_TOTP_SHARED_SECRET
The operation type that may be used to add a value to the set of registered
TOTP shared secrets for a user.
|
static int |
OP_TYPE_CLEAR_ACCOUNT_ACTIVATION_TIME
The operation type that may be used to clear the user's account activation
time.
|
static int |
OP_TYPE_CLEAR_ACCOUNT_DISABLED_STATE
The operation type that may be used to clear the account disabled flag in
the user's entry.
|
static int |
OP_TYPE_CLEAR_ACCOUNT_EXPIRATION_TIME
The operation type that may be used to clear the user's account expiration
time.
|
static int |
OP_TYPE_CLEAR_AUTH_FAILURE_TIMES
The operation type that may be used to clear the authentication failure
times in the user account.
|
static int |
OP_TYPE_CLEAR_GRACE_LOGIN_USE_TIMES
The operation type that may be used to clear the set of times that the user
has authenticated using a grace login after his/her password has expired.
|
static int |
OP_TYPE_CLEAR_LAST_BIND_PASSWORD_VALIDATION_TIME
The operation type that may be used to clear the time that the server last
invoked password validation during a bind operation for a user.
|
static int |
OP_TYPE_CLEAR_LAST_LOGIN_IP_ADDRESS
The operation type that may be used to clear the last login IP address in
the user's entry.
|
static int |
OP_TYPE_CLEAR_LAST_LOGIN_TIME
The operation type that may be used to clear the last login time in the
user's entry.
|
static int |
OP_TYPE_CLEAR_PW_CHANGED_BY_REQUIRED_TIME
The operation type that may be used to clear the last time that the
user's password was changed during a required change period.
|
static int |
OP_TYPE_CLEAR_PW_CHANGED_TIME
The operation type that may be used to clear the password changed time in
the user's account.
|
static int |
OP_TYPE_CLEAR_PW_EXPIRATION_WARNED_TIME
The operation type that may be used to clear the password expiration warned
time from the user's entry.
|
static int |
OP_TYPE_CLEAR_PW_HISTORY
The operation type that may be used to clear the stored password history
values for a user.
|
static int |
OP_TYPE_CLEAR_PW_RESET_STATE
The operation type that may be used to clear the password reset flag in the
user's entry.
|
static int |
OP_TYPE_CLEAR_RECENT_LOGIN_HISTORY
The operation type that may be used to clear a user's recent login history.
|
static int |
OP_TYPE_CLEAR_REGISTERED_YUBIKEY_PUBLIC_IDS
The operation type that may be used to clear the set of public IDs for
the registered YubiKey OTP devices for a user.
|
static int |
OP_TYPE_CLEAR_TOTP_SHARED_SECRETS
The operation type that may be used to clear the set of TOTP shared secrets
for a user.
|
static int |
OP_TYPE_GET_ACCOUNT_ACTIVATION_TIME
The operation type that may be used to get the time that the user's account
will become active.
|
static int |
OP_TYPE_GET_ACCOUNT_DISABLED_STATE
The operation type that may be used to determine whether the user account
is disabled.
|
static int |
OP_TYPE_GET_ACCOUNT_EXPIRATION_TIME
The operation type that may be used to get the time that the user's account
will expire.
|
static int |
OP_TYPE_GET_ACCOUNT_IS_EXPIRED
The operation type that may be used to determine whether an account is
expired (because the account expiration time is in the past).
|
static int |
OP_TYPE_GET_ACCOUNT_IS_FAILURE_LOCKED
The operation type that may be used to determine whether a user's account
is locked because of too many authentication failures.
|
static int |
OP_TYPE_GET_ACCOUNT_IS_IDLE_LOCKED
The operation type that may be used to determine whether a user's account
is locked because it has been idle for too long.
|
static int |
OP_TYPE_GET_ACCOUNT_IS_NOT_YET_ACTIVE
The operation type that may be used to determine whether an account is
not yet active (because the account activation time is in the future).
|
static int |
OP_TYPE_GET_ACCOUNT_IS_RESET_LOCKED
The operation type that may be used to determine whether a user's account
is locked because the user did not change their password in a timely manner
after an administrative reset.
|
static int |
OP_TYPE_GET_ACCOUNT_IS_USABLE
The operation type that may be used to determine whether an account is
usable (i.e., the account may authenticate or be used as an alternate
authorization identity).
|
static int |
OP_TYPE_GET_ACCOUNT_IS_VALIDATION_LOCKED
The operation type that may be used to determine whether a user's account
is locked because it contains a password that does not satisfy all of the
configured password validators.
|
static int |
OP_TYPE_GET_ACCOUNT_USABILITY_ERRORS
The operation type that may be used to retrieve a list of structured
strings that provide information about errors that may affect the account
usability.
|
static int |
OP_TYPE_GET_ACCOUNT_USABILITY_NOTICES
The operation type that may be used to retrieve a list of structured
strings that provide information about notices pertaining to account
usability.
|
static int |
OP_TYPE_GET_ACCOUNT_USABILITY_WARNINGS
The operation type that may be used to retrieve a list of structured
strings that provide information about warnings that may affect the account
usability.
|
static int |
OP_TYPE_GET_AUTH_FAILURE_TIMES
The operation type that may be used to get the set of times that the user
has unsuccessfully tried to authenticate since the last successful attempt.
|
static int |
OP_TYPE_GET_AVAILABLE_OTP_DELIVERY_MECHANISMS
The operation type that may be used to retrieve a list of the one-time
password delivery mechanisms that are available for a user.
|
static int |
OP_TYPE_GET_AVAILABLE_SASL_MECHANISMS
The operation type that may be used to retrieve a list of the SASL
mechanisms that are available for a user.
|
static int |
OP_TYPE_GET_FAILURE_LOCKOUT_TIME
The operation type that may be used to determine the failure lockout time
for a user account.
|
static int |
OP_TYPE_GET_GRACE_LOGIN_USE_TIMES
The operation type that may be used to retrieve the times that the user has
authenticated using a grace login after his/her password has expired.
|
static int |
OP_TYPE_GET_IDLE_LOCKOUT_TIME
The operation type that may be used to determine the idle lockout time for
a user account.
|
static int |
OP_TYPE_GET_LAST_BIND_PASSWORD_VALIDATION_TIME
The operation type that may be used to retrieve the time that the server
last invoked password validation during a bind operation for a user.
|
static int |
OP_TYPE_GET_LAST_LOGIN_IP_ADDRESS
The operation type that may be used to retrieve the IP address from which
the user last authenticated to the server.
|
static int |
OP_TYPE_GET_LAST_LOGIN_TIME
The operation type that may be used to retrieve the time that the user last
authenticated to the server.
|
static int |
OP_TYPE_GET_PASSWORD_RETIRED_TIME
The operation type that may be used to retrieve the time that the user's
former password was retired.
|
static int |
OP_TYPE_GET_PW_CHANGED_BY_REQUIRED_TIME
The operation type that may be used to retrieve the last time that the
user's password was changed during a required change period.
|
static int |
OP_TYPE_GET_PW_CHANGED_TIME
The operation type that may be used to get the time that the user's
password was last changed.
|
static int |
OP_TYPE_GET_PW_EXPIRATION_TIME
The operation type that may be used to determine when a user's password
will expire.
|
static int |
OP_TYPE_GET_PW_EXPIRATION_WARNED_TIME
The operation type that may be used to get the time that the user was
first sent a password expiration warning.
|
static int |
OP_TYPE_GET_PW_HISTORY
Deprecated.
This operation type has been deprecated in favor of the
OP_TYPE_GET_PW_HISTORY_COUNT operation type. |
static int |
OP_TYPE_GET_PW_HISTORY_COUNT
The operation type that may be used to retrieve the password history count
for a user.
|
static int |
OP_TYPE_GET_PW_IS_EXPIRED
The operation type that may be used to determine whether a user's password
is expired.
|
static int |
OP_TYPE_GET_PW_POLICY_DN
The operation type that may be used to retrieve the DN of the password
policy to which the user is subject.
|
static int |
OP_TYPE_GET_PW_RESET_STATE
The operation type that may be used to determine whether a user's password
has been reset by an administrator and must be changed.
|
static int |
OP_TYPE_GET_RECENT_LOGIN_HISTORY
The operation type that may be used to retrieve a user's recent login
history.
|
static int |
OP_TYPE_GET_REGISTERED_YUBIKEY_PUBLIC_IDS
The operation type that may be used to retrieve get the set of public IDs
for the registered YubiKey OTP devices for a user.
|
static int |
OP_TYPE_GET_REMAINING_AUTH_FAILURE_COUNT
The operation type that may be used to retrieve the number of failed
authentication attempts that the user has before the account is locked.
|
static int |
OP_TYPE_GET_REMAINING_GRACE_LOGIN_COUNT
The operation type that may be used to retrieve the number of grace logins
available for the user.
|
static int |
OP_TYPE_GET_RESET_LOCKOUT_TIME
The operation type that may be used to determine the reset lockout time for
a user account.
|
static int |
OP_TYPE_GET_RETIRED_PASSWORD_EXPIRATION_TIME
The operation type that may be used to retrieve the time that the user's
retired password will expire.
|
static int |
OP_TYPE_GET_SECONDS_SINCE_LAST_BIND_PASSWORD_VALIDATION
The operation type that may be used to retrieve the length of time in
seconds since the server last invoked password validation during a bind
operation.
|
static int |
OP_TYPE_GET_SECONDS_UNTIL_ACCOUNT_ACTIVATION
The operation type that may be used to retrieve the length of time in
seconds until the user's account will become active.
|
static int |
OP_TYPE_GET_SECONDS_UNTIL_ACCOUNT_EXPIRATION
The operation type that may be used to retrieve the length of time in
seconds until the user's account expires.
|
static int |
OP_TYPE_GET_SECONDS_UNTIL_AUTH_FAILURE_UNLOCK
The operation type that may be used to retrieve the length of time in
seconds until the user's account is unlocked.
|
static int |
OP_TYPE_GET_SECONDS_UNTIL_IDLE_LOCKOUT
The operation type that may be used to get the length of time in seconds
until the user account is locked due to inactivity.
|
static int |
OP_TYPE_GET_SECONDS_UNTIL_PW_EXPIRATION
The operation type that may be used to get the length of time in seconds
until the user's password expires.
|
static int |
OP_TYPE_GET_SECONDS_UNTIL_PW_EXPIRATION_WARNING
The operation type that may be used to get the length of time in seconds
until the user will be eligible to receive a password expiration warning.
|
static int |
OP_TYPE_GET_SECONDS_UNTIL_PW_RESET_LOCKOUT
The operation type that may be used to get the length of time in seconds
until the user's account is locked due to failure to change the password
after an administrative reset.
|
static int |
OP_TYPE_GET_SECONDS_UNTIL_REQUIRED_CHANGE_TIME
The operation type that may be used to get the length of time in seconds
until the user's account will be locked due to a failure to change the
password by a required time.
|
static int |
OP_TYPE_HAS_REGISTERED_YUBIKEY_PUBLIC_ID
The operation type that may be used to determine whether a user has one
or more registered YubiKey OTP devices.
|
static int |
OP_TYPE_HAS_RETIRED_PASSWORD
The operation type that may be used to determine whether a user has a valid
retired password.
|
static int |
OP_TYPE_HAS_STATIC_PASSWORD
The operation type that may be used to determine whether a user has a
static password.
|
static int |
OP_TYPE_HAS_TOTP_SHARED_SECRET
The operation type that may be used to determine whether a user has one or
more TOTP shared secrets.
|
static int |
OP_TYPE_PURGE_RETIRED_PASSWORD
The operation type that may be used to purge any retired password from the
user's entry.
|
static int |
OP_TYPE_REMOVE_REGISTERED_YUBIKEY_PUBLIC_ID
The operation type that may be used to remove a value from the set of
registered YubiKey OTP device public IDs for a user.
|
static int |
OP_TYPE_REMOVE_TOTP_SHARED_SECRET
The operation type that may be used to remove a value from the set of
registered TOTP shared secrets for a user.
|
static int |
OP_TYPE_SET_ACCOUNT_ACTIVATION_TIME
The operation type that may be used to set the time that the user's account
will become active.
|
static int |
OP_TYPE_SET_ACCOUNT_DISABLED_STATE
The operation type that may be used to specify whether the user account is
disabled.
|
static int |
OP_TYPE_SET_ACCOUNT_EXPIRATION_TIME
The operation type that may be used to set the time that the user's account
will expire.
|
static int |
OP_TYPE_SET_ACCOUNT_IS_FAILURE_LOCKED
The operation type that may be used to specify whether a user's account
is locked because of too many authentication failures.
|
static int |
OP_TYPE_SET_ACCOUNT_IS_VALIDATION_LOCKED
The operation type that may be used to specify whether a user's account
is locked because it contains a password that does not satisfy all of the
configured password validators.
|
static int |
OP_TYPE_SET_AUTH_FAILURE_TIMES
The operation type that may be used to set the set of times that the user
has unsuccessfully tried to authenticate since the last successful attempt.
|
static int |
OP_TYPE_SET_GRACE_LOGIN_USE_TIMES
The operation type that may be used to set the times that the user has
authenticated using a grace login after his/her password has expired.
|
static int |
OP_TYPE_SET_LAST_BIND_PASSWORD_VALIDATION_TIME
The operation type that may be used to set the time that the server last
invoked password validation during a bind operation for a user.
|
static int |
OP_TYPE_SET_LAST_LOGIN_IP_ADDRESS
The operation type that may be used to set the IP address from which the
user last authenticated to the server.
|
static int |
OP_TYPE_SET_LAST_LOGIN_TIME
The operation type that may be used to set the time that the user last
authenticated to the server.
|
static int |
OP_TYPE_SET_PW_CHANGED_BY_REQUIRED_TIME
The operation type that may be used to set the last time that the
user's password was changed during a required change period.
|
static int |
OP_TYPE_SET_PW_CHANGED_TIME
The operation type that may be used to set the time that the user's
password was last changed.
|
static int |
OP_TYPE_SET_PW_EXPIRATION_WARNED_TIME
The operation type that may be used to set the time that the user was
first sent a password expiration warning.
|
static int |
OP_TYPE_SET_PW_RESET_STATE
The operation type that may be used to set the flag to indicate whether a
user's password has been reset by an administrator and must be changed.
|
static int |
OP_TYPE_SET_REGISTERED_YUBIKEY_PUBLIC_IDS
The operation type that may be used to replace the set of public IDs for
the registered YubiKey OTP devices for a user.
|
static int |
OP_TYPE_SET_TOTP_SHARED_SECRETS
The operation type that may be used to replace the set of registered TOTP
shared secrets for a user.
|
Constructor and Description |
---|
PasswordPolicyStateOperation(int opType)
Creates a new password policy state operation with the specified operation
type and no values.
|
PasswordPolicyStateOperation(int opType,
ASN1OctetString[] values)
Creates a new password policy state operation with the specified operation
type and set of values.
|
Modifier and Type | Method and Description |
---|---|
static PasswordPolicyStateOperation |
createAddAuthenticationFailureTimeOperation()
Creates a new password policy state operation that may be used to add the
current time to the set of times that the user has unsuccessfully tried to
authenticate since the last successful authentication.
|
static PasswordPolicyStateOperation |
createAddAuthenticationFailureTimeOperation(java.util.Date[] authFailureTimes)
Creates a new password policy state operation that may be used to add the
specified values to the set of times that the user has unsuccessfully tried
to authenticate since the last successful authentication.
|
static PasswordPolicyStateOperation |
createAddGraceLoginUseTimeOperation()
Creates a new password policy state operation that may be used to add the
current time to the set of times that the user has authenticated using
grace logins since his/her password expired.
|
static PasswordPolicyStateOperation |
createAddGraceLoginUseTimeOperation(java.util.Date[] graceLoginUseTimes)
Creates a new password policy state operation that may be used to add the
current time to the set of times that the user has authenticated using
grace logins since his/her password expired.
|
static PasswordPolicyStateOperation |
createAddRegisteredYubiKeyPublicIDOperation(java.lang.String... publicIDs)
Creates a new password policy state operation that may be used to add one
or more values to the set of the public IDs of the YubiKey OTP devices
registered for a user.
|
static PasswordPolicyStateOperation |
createAddTOTPSharedSecretOperation(java.lang.String... totpSharedSecrets)
Creates a new password policy state operation that may be used to add one
or more values to the set of TOTP shared secrets for a user.
|
static PasswordPolicyStateOperation |
createClearAccountActivationTimeOperation()
Creates a new password policy state operation that may be used to clear
the account expiration time in the user's entry.
|
static PasswordPolicyStateOperation |
createClearAccountDisabledStateOperation()
Creates a new password policy state operation that may be used to clear
the user account disabled state in the user's entry.
|
static PasswordPolicyStateOperation |
createClearAccountExpirationTimeOperation()
Creates a new password policy state operation that may be used to clear
the account expiration time in the user's entry.
|
static PasswordPolicyStateOperation |
createClearAuthenticationFailureTimesOperation()
Creates a new password policy state operation that may be used to clear the
set of times that the user has unsuccessfully tried to authenticate since
the last successful authentication.
|
static PasswordPolicyStateOperation |
createClearGraceLoginUseTimesOperation()
Creates a new password policy state operation that may be used to clear
the set of times that the user has authenticated using grace logins since
his/her password expired.
|
static PasswordPolicyStateOperation |
createClearLastBindPasswordValidationTimeOperation()
Creates a new password policy state operation that may be used to clear the
last bind password validation time in the user's entry.
|
static PasswordPolicyStateOperation |
createClearLastLoginIPAddressOperation()
Creates a new password policy state operation that may be used to clear
the last login IP address from the user's entry.
|
static PasswordPolicyStateOperation |
createClearLastLoginTimeOperation()
Creates a new password policy state operation that may be used to clear
the last login time from the user's entry.
|
static PasswordPolicyStateOperation |
createClearPasswordChangedByRequiredTimeOperation()
Creates a new password policy state operation that may be used to clear
the last required password change time from the user's entry.
|
static PasswordPolicyStateOperation |
createClearPasswordChangedTimeOperation()
Creates a new password policy state operation that may be used to clear
the password changed time from a user's entry.
|
static PasswordPolicyStateOperation |
createClearPasswordExpirationWarnedTimeOperation()
Creates a new password policy state operation that may be used to clear the
password expiration warned time from the user's entry.
|
static PasswordPolicyStateOperation |
createClearPasswordHistoryOperation()
Creates a new password policy state operation that may be used to clear the
password history values stored in the user's entry.
|
static PasswordPolicyStateOperation |
createClearPasswordResetStateOperation()
Creates a new password policy state operation that may be used to clear the
password reset state information in the user's entry.
|
static PasswordPolicyStateOperation |
createClearRecentLoginHistoryOperation()
Creates a new password policy state operation that may be used to clear
the recent login history for a user.
|
static PasswordPolicyStateOperation |
createClearRegisteredYubiKeyPublicIDsOperation()
Creates a new password policy state operation that may be used to clear
the set of the public IDs of the YubiKey OTP devices registered for a user.
|
static PasswordPolicyStateOperation |
createClearTOTPSharedSecretsOperation()
Creates a new password policy state operation that may be used to clear
the set of TOTP shared secrets for a user.
|
static PasswordPolicyStateOperation |
createGetAccountActivationTimeOperation()
Creates a new password policy state operation that may be used to retrieve
the time that the user's account will become active.
|
static PasswordPolicyStateOperation |
createGetAccountDisabledStateOperation()
Creates a new password policy state operation that may be used to determine
whether the user account is disabled.
|
static PasswordPolicyStateOperation |
createGetAccountExpirationTimeOperation()
Creates a new password policy state operation that may be used to retrieve
the time that the user's account expires.
|
static PasswordPolicyStateOperation |
createGetAccountIsExpiredOperation()
Creates a new password policy state operation that may be used to determine
whether an account has an expiration time that is in the past.
|
static PasswordPolicyStateOperation |
createGetAccountIsFailureLockedOperation()
Creates a new password policy state operation that may be used to determine
whether an account has been locked because of too many failed
authentication attempts.
|
static PasswordPolicyStateOperation |
createGetAccountIsIdleLockedOperation()
Creates a new password policy state operation that may be used to determine
whether an account has been locked because it has remained idle for too
long.
|
static PasswordPolicyStateOperation |
createGetAccountIsNotYetActiveOperation()
Creates a new password policy state operation that may be used to determine
whether an account has an activation time that is in the future.
|
static PasswordPolicyStateOperation |
createGetAccountIsResetLockedOperation()
Creates a new password policy state operation that may be used to determine
whether an account has been locked because the user failed to change their
password in a timely manner after an administrative reset.
|
static PasswordPolicyStateOperation |
createGetAccountIsUsableOperation()
Creates a new password policy state operation that may be used to determine
whether an account is usable (i.e., the account will be allowed to
authenticate and/or be used as an alternate authorization identity.
|
static PasswordPolicyStateOperation |
createGetAccountIsValidationLockedOperation()
Creates a new password policy state operation that may be used to determine
whether an account has been locked because it contains a password that does
not satisfy all of the configured password validators.
|
static PasswordPolicyStateOperation |
createGetAccountUsabilityErrorsOperation()
Creates a new password policy state operation that may be used to retrieve
information about any password policy state errors that may impact the
usability of the user's account.
|
static PasswordPolicyStateOperation |
createGetAccountUsabilityNoticesOperation()
Creates a new password policy state operation that may be used to retrieve
information about any password policy state notices pertaining to the
usability of the user's account.
|
static PasswordPolicyStateOperation |
createGetAccountUsabilityWarningsOperation()
Creates a new password policy state operation that may be used to retrieve
information about any password policy state warnings that may impact the
usability of the user's account.
|
static PasswordPolicyStateOperation |
createGetAuthenticationFailureTimesOperation()
Creates a new password policy state operation that may be used to retrieve
the times that the user has unsuccessfully tried to authenticate since the
last successful authentication.
|
static PasswordPolicyStateOperation |
createGetAvailableOTPDeliveryMechanismsOperation()
Creates a new password policy state operation that may be used to retrieve
a list of the one-time password delivery mechanisms that are available for
a user.
|
static PasswordPolicyStateOperation |
createGetAvailableSASLMechanismsOperation()
Creates a new password policy state operation that may be used to retrieve
a list of the SASL mechanisms that are available for a user.
|
static PasswordPolicyStateOperation |
createGetFailureLockoutTimeOperation()
Creates a new password policy state operation that may be used to determine
when a user's password is was locked because of too many failed
authentication attempts.
|
static PasswordPolicyStateOperation |
createGetGraceLoginUseTimesOperation()
Creates a new password policy state operation that may be used to retrieve
the set of times that the user has authenticated using grace logins since
his/her password expired.
|
static PasswordPolicyStateOperation |
createGetIdleLockoutTimeOperation()
Creates a new password policy state operation that may be used to determine
when a user's password is was locked because of the idle account lockout.
|
static PasswordPolicyStateOperation |
createGetLastBindPasswordValidationTimeOperation()
Creates a new password policy state operation that may be used to retrieve
the time that the server last invoked password validators during a bind
operation for the target user.
|
static PasswordPolicyStateOperation |
createGetLastLoginIPAddressOperation()
Creates a new password policy state operation that may be used to determine
the IP address from which the user last successfully authenticated to the
server.
|
static PasswordPolicyStateOperation |
createGetLastLoginTimeOperation()
Creates a new password policy state operation that may be used to determine
the time that the user last successfully authenticated to the server.
|
static PasswordPolicyStateOperation |
createGetPasswordChangedByRequiredTimeOperation()
Creates a new password policy state operation that may be used to retrieve
the last required password change time that with which the user has
complied.
|
static PasswordPolicyStateOperation |
createGetPasswordChangedTimeOperation()
Creates a new password policy state operation that may be used to determine
when the user's password was last changed.
|
static PasswordPolicyStateOperation |
createGetPasswordExpirationTimeOperation()
Creates a new password policy state operation that may be used to determine
when a user's password is expected to expire.
|
static PasswordPolicyStateOperation |
createGetPasswordExpirationWarnedTimeOperation()
Creates a new password policy state operation that may be used to determine
when the user first received a password expiration warning.
|
static PasswordPolicyStateOperation |
createGetPasswordHistoryCountOperation()
Creates a new password policy state operation that may be used to retrieve
the number of passwords currently held in a user's password history.
|
static PasswordPolicyStateOperation |
createGetPasswordHistoryOperation()
Deprecated.
This method has been deprecated in favor of the
createGetPasswordHistoryCountOperation() method. |
static PasswordPolicyStateOperation |
createGetPasswordIsExpiredOperation()
Creates a new password policy state operation that may be used to determine
whether a user's password is expired.
|
static PasswordPolicyStateOperation |
createGetPasswordPolicyDNOperation()
Creates a new password policy state operation that may be used to request
the DN of the password policy configuration entry for the user.
|
static PasswordPolicyStateOperation |
createGetPasswordResetStateOperation()
Creates a new password policy state operation that may be used to determine
whether the user's password has been reset by an administrator and must be
changed before performing any other operations.
|
static PasswordPolicyStateOperation |
createGetPasswordRetiredTimeOperation()
Creates a new password policy state operation that may be used to determine
the time that the user's former password was retired.
|
static PasswordPolicyStateOperation |
createGetRecentLoginHistoryOperation()
Creates a new password policy state operation that may be used to retrieve
the recent login history for a user.
|
static PasswordPolicyStateOperation |
createGetRegisteredYubiKeyPublicIDsOperation()
Creates a new password policy state operation that may be used to retrieve
the public IDs of the YubiKey OTP devices registered for a user.
|
static PasswordPolicyStateOperation |
createGetRemainingAuthenticationFailureCountOperation()
Creates a new password policy state operation that may be used to determine
the number of authentication failures required to lock the user's account.
|
static PasswordPolicyStateOperation |
createGetRemainingGraceLoginCountOperation()
Creates a new password policy state operation that may be used to retrieve
the number of remaining grace logins available to the user.
|
static PasswordPolicyStateOperation |
createGetResetLockoutTimeOperation()
Creates a new password policy state operation that may be used to determine
when a user's password is was locked because the user failed to change
their password in a timely manner after an administrative reset.
|
static PasswordPolicyStateOperation |
createGetRetiredPasswordExpirationTimeOperation()
Creates a new password policy state operation that may be used to determine
the length of time until the user's retired password expires.
|
static PasswordPolicyStateOperation |
createGetSecondsSinceLastBindPasswordValidationOperation()
Creates a new password policy state operation that may be used to determine
the length of time in seconds since the server last invoked password
validators during a bind operation for the target user.
|
static PasswordPolicyStateOperation |
createGetSecondsUntilAccountActivationOperation()
Creates a new password policy state operation that may be used to determine
the length of time in seconds until the user's account becomes active.
|
static PasswordPolicyStateOperation |
createGetSecondsUntilAccountExpirationOperation()
Creates a new password policy state operation that may be used to determine
the length of time in seconds until the user's account is expired.
|
static PasswordPolicyStateOperation |
createGetSecondsUntilAuthenticationFailureUnlockOperation()
Creates a new password policy state operation that may be used to determine
the length of time in seconds until the user's account is automatically
unlocked after too many failed authentication attempts.
|
static PasswordPolicyStateOperation |
createGetSecondsUntilIdleLockoutOperation()
Creates a new password policy state operation that may be used to determine
the length of time in seconds until the user's account is locked due to
inactivity.
|
static PasswordPolicyStateOperation |
createGetSecondsUntilPasswordExpirationOperation()
Creates a new password policy state operation that may be used to determine
the length of time in seconds until the user's password expires.
|
static PasswordPolicyStateOperation |
createGetSecondsUntilPasswordExpirationWarningOperation()
Creates a new password policy state operation that may be used to determine
the length of time in seconds until the user is eligible to start receiving
password expiration warnings.
|
static PasswordPolicyStateOperation |
createGetSecondsUntilPasswordResetLockoutOperation()
Creates a new password policy state operation that may be used to determine
the length of time in seconds that the user has left to change his/her
password after an administrative reset before the account is locked.
|
static PasswordPolicyStateOperation |
createGetSecondsUntilRequiredChangeTimeOperation()
Creates a new password policy state operation that may be used to retrieve
the length of time in seconds until the required password change time
arrives.
|
static PasswordPolicyStateOperation |
createHasRetiredPasswordOperation()
Creates a new password policy state operation that may be used to determine
whether the user has a valid retired password.
|
static PasswordPolicyStateOperation |
createHasStaticPasswordOperation()
Creates a new password policy state operation that may be used to determine
whether the user has a static password.
|
static PasswordPolicyStateOperation |
createHasTOTPSharedSecret()
Deprecated.
Use
createHasTOTPSharedSecretOperation() instead. |
static PasswordPolicyStateOperation |
createHasTOTPSharedSecretOperation()
Creates a new password policy state operation that may be used to determine
whether the user has at least one TOTP shared secret.
|
static PasswordPolicyStateOperation |
createHasYubiKeyPublicIDOperation()
Creates a new password policy state operation that may be used to determine
whether the user has at least one registered YubiKey OTP device.
|
static PasswordPolicyStateOperation |
createPurgeRetiredPasswordOperation()
Creates a new password policy state operation that may be used to purge
any retired password from the user's entry.
|
static PasswordPolicyStateOperation |
createRemoveRegisteredYubiKeyPublicIDOperation(java.lang.String... publicIDs)
Creates a new password policy state operation that may be used to remove
one or more values from the set of the public IDs of the YubiKey OTP
devices registered for a user.
|
static PasswordPolicyStateOperation |
createRemoveTOTPSharedSecretOperation(java.lang.String... totpSharedSecrets)
Creates a new password policy state operation that may be used to remove
one or more values from the set of TOTP shared secrets for a user.
|
static PasswordPolicyStateOperation |
createSetAccountActivationTimeOperation(java.util.Date expirationTime)
Creates a new password policy state operation that may be used to set the
time that the user's account expires.
|
static PasswordPolicyStateOperation |
createSetAccountDisabledStateOperation(boolean isDisabled)
Creates a new password policy state operation that may be used to specify
whether the user account is disabled.
|
static PasswordPolicyStateOperation |
createSetAccountExpirationTimeOperation(java.util.Date expirationTime)
Creates a new password policy state operation that may be used to set the
time that the user's account expires.
|
static PasswordPolicyStateOperation |
createSetAccountIsFailureLockedOperation(boolean isFailureLocked)
Creates a new password policy state operation that may be used to specify
whether an account should be locked because of too many failed
authentication attempts.
|
static PasswordPolicyStateOperation |
createSetAccountIsValidationLockedOperation(boolean isValidationLocked)
Creates a new password policy state operation that may be used to specify
whether an account should be locked because it contains a password that
does not satisfy all of the configured password validators.
|
static PasswordPolicyStateOperation |
createSetAuthenticationFailureTimesOperation(java.util.Date[] authFailureTimes)
Creates a new password policy state operation that may be used to specify
the set of times that the user has unsuccessfully tried to authenticate
since the last successful authentication.
|
static PasswordPolicyStateOperation |
createSetGraceLoginUseTimesOperation(java.util.Date[] graceLoginUseTimes)
Creates a new password policy state operation that may be used to specify
the set of times that the user has authenticated using grace logins since
his/her password expired.
|
static PasswordPolicyStateOperation |
createSetLastBindPasswordValidationTimeOperation(java.util.Date validationTime)
Creates a new password policy state operation that may be used to set the
time that the server last invoked password validators during a bind
operation for the target user.
|
static PasswordPolicyStateOperation |
createSetLastLoginIPAddressOperation(java.lang.String lastLoginIPAddress)
Creates a new password policy state operation that may be used to set
the IP address from which the user last successfully authenticated to the
server.
|
static PasswordPolicyStateOperation |
createSetLastLoginTimeOperation(java.util.Date lastLoginTime)
Creates a new password policy state operation that may be used to set
the time that the user last successfully authenticated to the server.
|
static PasswordPolicyStateOperation |
createSetPasswordChangedByRequiredTimeOperation()
Creates a new password policy state operation that may be used to update
the user's entry to indicate that he/she has complied with the required
password change time.
|
static PasswordPolicyStateOperation |
createSetPasswordChangedByRequiredTimeOperation(java.util.Date requiredTime)
Creates a new password policy state operation that may be used to update
the user's entry to indicate that he/she has complied with the required
password change time.
|
static PasswordPolicyStateOperation |
createSetPasswordChangedTimeOperation(java.util.Date passwordChangedTime)
Creates a new password policy state operation that may be used to specify
when the user's password was last changed.
|
static PasswordPolicyStateOperation |
createSetPasswordExpirationWarnedTimeOperation(java.util.Date passwordExpirationWarnedTime)
Creates a new password policy state operation that may be used to specify
when the user first received a password expiration warning.
|
static PasswordPolicyStateOperation |
createSetPasswordResetStateOperation(boolean isReset)
Creates a new password policy state operation that may be used to specify
whether the user's password has been reset by an administrator and must be
changed before performing any other operations.
|
static PasswordPolicyStateOperation |
createSetRegisteredYubiKeyPublicIDsOperation(java.lang.String... publicIDs)
Creates a new password policy state operation that may be used to replace
the set of the public IDs of the YubiKey OTP devices registered for a user.
|
static PasswordPolicyStateOperation |
createSetTOTPSharedSecretsOperation(java.lang.String... totpSharedSecrets)
Creates a new password policy state operation that may be used to replace
the set of TOTP shared secrets for a user.
|
static PasswordPolicyStateOperation |
decode(ASN1Element element)
Decodes the provided ASN.1 element as a password policy state operation.
|
ASN1Element |
encode()
Encodes this password policy state operation for use in the extended
request or response.
|
boolean |
getBooleanValue()
Retrieves the boolean representation of the value for this password policy
state operation.
|
java.util.Date |
getGeneralizedTimeValue()
Retrieves the
Date object represented by the value for this
password policy state operation treated as a timestamp in generalized time
form. |
java.util.Date[] |
getGeneralizedTimeValues()
Retrieves the
Date objects represented by the values for this
password policy state operation treated as timestamps in generalized time
form. |
int |
getIntValue()
Retrieves the integer representation of the value for this password policy
state operation.
|
int |
getOperationType()
Retrieves the operation type for this password policy state operation.
|
ASN1OctetString[] |
getRawValues()
Retrieves the set of raw values for this password policy state operation.
|
java.lang.String |
getStringValue()
Retrieves the string representation of the value for this password policy
state operation.
|
java.lang.String[] |
getStringValues()
Retrieves the string representations of the values for this password policy
state operation.
|
java.lang.String |
toString()
Retrieves a string representation of this password policy state operation.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this password policy state operation to
the provided buffer.
|
public static final int OP_TYPE_GET_PW_POLICY_DN
public static final int OP_TYPE_GET_ACCOUNT_DISABLED_STATE
public static final int OP_TYPE_SET_ACCOUNT_DISABLED_STATE
public static final int OP_TYPE_CLEAR_ACCOUNT_DISABLED_STATE
public static final int OP_TYPE_GET_ACCOUNT_EXPIRATION_TIME
public static final int OP_TYPE_SET_ACCOUNT_EXPIRATION_TIME
public static final int OP_TYPE_CLEAR_ACCOUNT_EXPIRATION_TIME
public static final int OP_TYPE_GET_SECONDS_UNTIL_ACCOUNT_EXPIRATION
public static final int OP_TYPE_GET_PW_CHANGED_TIME
public static final int OP_TYPE_SET_PW_CHANGED_TIME
public static final int OP_TYPE_CLEAR_PW_CHANGED_TIME
public static final int OP_TYPE_GET_PW_EXPIRATION_WARNED_TIME
public static final int OP_TYPE_SET_PW_EXPIRATION_WARNED_TIME
public static final int OP_TYPE_CLEAR_PW_EXPIRATION_WARNED_TIME
public static final int OP_TYPE_GET_SECONDS_UNTIL_PW_EXPIRATION
public static final int OP_TYPE_GET_SECONDS_UNTIL_PW_EXPIRATION_WARNING
public static final int OP_TYPE_GET_AUTH_FAILURE_TIMES
public static final int OP_TYPE_ADD_AUTH_FAILURE_TIME
public static final int OP_TYPE_SET_AUTH_FAILURE_TIMES
public static final int OP_TYPE_CLEAR_AUTH_FAILURE_TIMES
public static final int OP_TYPE_GET_SECONDS_UNTIL_AUTH_FAILURE_UNLOCK
public static final int OP_TYPE_GET_REMAINING_AUTH_FAILURE_COUNT
public static final int OP_TYPE_GET_LAST_LOGIN_TIME
public static final int OP_TYPE_SET_LAST_LOGIN_TIME
public static final int OP_TYPE_CLEAR_LAST_LOGIN_TIME
public static final int OP_TYPE_GET_SECONDS_UNTIL_IDLE_LOCKOUT
public static final int OP_TYPE_GET_PW_RESET_STATE
public static final int OP_TYPE_SET_PW_RESET_STATE
public static final int OP_TYPE_CLEAR_PW_RESET_STATE
public static final int OP_TYPE_GET_SECONDS_UNTIL_PW_RESET_LOCKOUT
public static final int OP_TYPE_GET_GRACE_LOGIN_USE_TIMES
public static final int OP_TYPE_ADD_GRACE_LOGIN_USE_TIME
public static final int OP_TYPE_SET_GRACE_LOGIN_USE_TIMES
public static final int OP_TYPE_CLEAR_GRACE_LOGIN_USE_TIMES
public static final int OP_TYPE_GET_REMAINING_GRACE_LOGIN_COUNT
public static final int OP_TYPE_GET_PW_CHANGED_BY_REQUIRED_TIME
public static final int OP_TYPE_SET_PW_CHANGED_BY_REQUIRED_TIME
public static final int OP_TYPE_CLEAR_PW_CHANGED_BY_REQUIRED_TIME
public static final int OP_TYPE_GET_SECONDS_UNTIL_REQUIRED_CHANGE_TIME
@Deprecated public static final int OP_TYPE_GET_PW_HISTORY
OP_TYPE_GET_PW_HISTORY_COUNT
operation type.public static final int OP_TYPE_CLEAR_PW_HISTORY
public static final int OP_TYPE_HAS_RETIRED_PASSWORD
public static final int OP_TYPE_GET_PASSWORD_RETIRED_TIME
public static final int OP_TYPE_GET_RETIRED_PASSWORD_EXPIRATION_TIME
public static final int OP_TYPE_PURGE_RETIRED_PASSWORD
public static final int OP_TYPE_GET_ACCOUNT_ACTIVATION_TIME
public static final int OP_TYPE_SET_ACCOUNT_ACTIVATION_TIME
public static final int OP_TYPE_CLEAR_ACCOUNT_ACTIVATION_TIME
public static final int OP_TYPE_GET_SECONDS_UNTIL_ACCOUNT_ACTIVATION
public static final int OP_TYPE_GET_LAST_LOGIN_IP_ADDRESS
public static final int OP_TYPE_SET_LAST_LOGIN_IP_ADDRESS
public static final int OP_TYPE_CLEAR_LAST_LOGIN_IP_ADDRESS
public static final int OP_TYPE_GET_ACCOUNT_USABILITY_NOTICES
public static final int OP_TYPE_GET_ACCOUNT_USABILITY_WARNINGS
public static final int OP_TYPE_GET_ACCOUNT_USABILITY_ERRORS
public static final int OP_TYPE_GET_ACCOUNT_IS_USABLE
public static final int OP_TYPE_GET_ACCOUNT_IS_NOT_YET_ACTIVE
public static final int OP_TYPE_GET_ACCOUNT_IS_EXPIRED
public static final int OP_TYPE_GET_PW_EXPIRATION_TIME
public static final int OP_TYPE_GET_ACCOUNT_IS_FAILURE_LOCKED
public static final int OP_TYPE_SET_ACCOUNT_IS_FAILURE_LOCKED
public static final int OP_TYPE_GET_FAILURE_LOCKOUT_TIME
public static final int OP_TYPE_GET_ACCOUNT_IS_IDLE_LOCKED
public static final int OP_TYPE_GET_IDLE_LOCKOUT_TIME
public static final int OP_TYPE_GET_ACCOUNT_IS_RESET_LOCKED
public static final int OP_TYPE_GET_RESET_LOCKOUT_TIME
public static final int OP_TYPE_GET_PW_HISTORY_COUNT
public static final int OP_TYPE_GET_PW_IS_EXPIRED
public static final int OP_TYPE_GET_AVAILABLE_SASL_MECHANISMS
public static final int OP_TYPE_GET_AVAILABLE_OTP_DELIVERY_MECHANISMS
public static final int OP_TYPE_HAS_TOTP_SHARED_SECRET
public static final int OP_TYPE_GET_REGISTERED_YUBIKEY_PUBLIC_IDS
public static final int OP_TYPE_ADD_REGISTERED_YUBIKEY_PUBLIC_ID
public static final int OP_TYPE_REMOVE_REGISTERED_YUBIKEY_PUBLIC_ID
public static final int OP_TYPE_SET_REGISTERED_YUBIKEY_PUBLIC_IDS
public static final int OP_TYPE_CLEAR_REGISTERED_YUBIKEY_PUBLIC_IDS
public static final int OP_TYPE_ADD_TOTP_SHARED_SECRET
public static final int OP_TYPE_REMOVE_TOTP_SHARED_SECRET
public static final int OP_TYPE_SET_TOTP_SHARED_SECRETS
public static final int OP_TYPE_CLEAR_TOTP_SHARED_SECRETS
public static final int OP_TYPE_HAS_REGISTERED_YUBIKEY_PUBLIC_ID
public static final int OP_TYPE_HAS_STATIC_PASSWORD
public static final int OP_TYPE_GET_LAST_BIND_PASSWORD_VALIDATION_TIME
public static final int OP_TYPE_GET_SECONDS_SINCE_LAST_BIND_PASSWORD_VALIDATION
public static final int OP_TYPE_SET_LAST_BIND_PASSWORD_VALIDATION_TIME
public static final int OP_TYPE_CLEAR_LAST_BIND_PASSWORD_VALIDATION_TIME
public static final int OP_TYPE_GET_ACCOUNT_IS_VALIDATION_LOCKED
public static final int OP_TYPE_SET_ACCOUNT_IS_VALIDATION_LOCKED
public static final int OP_TYPE_GET_RECENT_LOGIN_HISTORY
public static final int OP_TYPE_CLEAR_RECENT_LOGIN_HISTORY
public PasswordPolicyStateOperation(int opType)
opType
- The operation type for this password policy state
operation.public PasswordPolicyStateOperation(int opType, @Nullable ASN1OctetString[] values)
opType
- The operation type for this password policy state
operation.values
- The set of values for this password policy state operation.@NotNull public static PasswordPolicyStateOperation createGetPasswordPolicyDNOperation()
OP_TYPE_GET_PW_POLICY_DN
with a single string value that is the
DN of the password policy configuration entry.@NotNull public static PasswordPolicyStateOperation createGetAccountDisabledStateOperation()
OP_TYPE_GET_ACCOUNT_DISABLED_STATE
with a
single boolean value of true
if the account is disabled, or
false
if the account is not disabled.@NotNull public static PasswordPolicyStateOperation createSetAccountDisabledStateOperation(boolean isDisabled)
OP_TYPE_GET_ACCOUNT_DISABLED_STATE
with a
single boolean value of true
if the account has been disabled, or
false
if the account is not disabled.isDisabled
- Indicates whether the user account should be disabled.@NotNull public static PasswordPolicyStateOperation createClearAccountDisabledStateOperation()
OP_TYPE_GET_ACCOUNT_DISABLED_STATE
with a single boolean value of
true
if the account is disabled, or false
if the account is
not disabled.@NotNull public static PasswordPolicyStateOperation createGetAccountActivationTimeOperation()
OP_TYPE_GET_ACCOUNT_ACTIVATION_TIME
with a single string value
that is the generalized time representation of the account activation time,
or a null
value if the account does not have an activation time.@NotNull public static PasswordPolicyStateOperation createSetAccountActivationTimeOperation(@Nullable java.util.Date expirationTime)
OP_TYPE_GET_ACCOUNT_ACTIVATION_TIME
with a
single string value that is the generalized time representation of the
account activation time, or a null
value if the account does not
have an activation time.expirationTime
- The time that the user's account should expire. It
may be null
if the server should use the
current time.@NotNull public static PasswordPolicyStateOperation createClearAccountActivationTimeOperation()
OP_TYPE_GET_ACCOUNT_ACTIVATION_TIME
with a single string value
that is the generalized time representation of the account activation time,
or a null
value if the account does not have an activation time.@NotNull public static PasswordPolicyStateOperation createGetSecondsUntilAccountActivationOperation()
OP_TYPE_GET_SECONDS_UNTIL_ACCOUNT_ACTIVATION
with a single integer
value representing the number of seconds until the account becomes active,
or a null
value if the account does not have an activation time.@NotNull public static PasswordPolicyStateOperation createGetAccountExpirationTimeOperation()
OP_TYPE_GET_ACCOUNT_EXPIRATION_TIME
with a single string value that is the generalized time representation of
the account expiration time, or a null
value if the account does
not have an expiration time.@NotNull public static PasswordPolicyStateOperation createSetAccountExpirationTimeOperation(@Nullable java.util.Date expirationTime)
OP_TYPE_GET_ACCOUNT_EXPIRATION_TIME
with a
single string value that is the generalized time representation of the
account expiration time, or a null
value if the account does not
have an expiration time.expirationTime
- The time that the user's account should expire. It
may be null
if the server should use the
current time.@NotNull public static PasswordPolicyStateOperation createClearAccountExpirationTimeOperation()
OP_TYPE_GET_ACCOUNT_EXPIRATION_TIME
with a single string value
that is the generalized time representation of the account expiration time,
or a null
value if the account does not have an expiration time.@NotNull public static PasswordPolicyStateOperation createGetSecondsUntilAccountExpirationOperation()
OP_TYPE_GET_SECONDS_UNTIL_ACCOUNT_EXPIRATION
with a single integer
value representing the number of seconds until the account will expire, or
a null
value if the account does not have an expiration time.@NotNull public static PasswordPolicyStateOperation createGetPasswordChangedTimeOperation()
OP_TYPE_GET_PW_CHANGED_TIME
with a
single string value that is the generalized time representation of the
time the password was last changed.@NotNull public static PasswordPolicyStateOperation createSetPasswordChangedTimeOperation(@Nullable java.util.Date passwordChangedTime)
OP_TYPE_GET_PW_CHANGED_TIME
with a
single string value that is the generalized time representation of the
time the password was last changed.passwordChangedTime
- The time the user's password was last changed.
It may be null
if the server should
use the current time.@NotNull public static PasswordPolicyStateOperation createClearPasswordChangedTimeOperation()
OP_TYPE_GET_PW_CHANGED_TIME
with a
single string value that is the generalized time representation of the
time the password was last changed, or null
if it can no longer be
determined.@NotNull public static PasswordPolicyStateOperation createGetPasswordExpirationWarnedTimeOperation()
OP_TYPE_GET_PW_EXPIRATION_WARNED_TIME
with a single string value
that is the generalized time representation of the time the user received
the first expiration warning.@NotNull public static PasswordPolicyStateOperation createSetPasswordExpirationWarnedTimeOperation(@Nullable java.util.Date passwordExpirationWarnedTime)
OP_TYPE_GET_PW_EXPIRATION_WARNED_TIME
with a single string value
that is the generalized time representation of the time the user received
the first expiration warning.passwordExpirationWarnedTime
- The password expiration warned time
for the user. It may be null
if the server should use the current
time.@NotNull public static PasswordPolicyStateOperation createClearPasswordExpirationWarnedTimeOperation()
OP_TYPE_GET_PW_EXPIRATION_WARNED_TIME
with a single string value
that is the generalized time representation of the time the user received
the first expiration warning.@NotNull public static PasswordPolicyStateOperation createGetSecondsUntilPasswordExpirationOperation()
OP_TYPE_GET_SECONDS_UNTIL_PW_EXPIRATION
with a single integer
value that is the number of seconds until the user's password expires, or
a null
value if the user's password will not expire.@NotNull public static PasswordPolicyStateOperation createGetSecondsUntilPasswordExpirationWarningOperation()
OP_TYPE_GET_SECONDS_UNTIL_PW_EXPIRATION_WARNING
with a single integer value that is the number of seconds until the user is
eligible to receive the first expiration warning, or a null
value
if the user's password will not expire.@NotNull public static PasswordPolicyStateOperation createGetAuthenticationFailureTimesOperation()
OP_TYPE_GET_AUTH_FAILURE_TIMES
with an array of
string values representing the timestamps (in generalized time format) of
the authentication failures.@NotNull public static PasswordPolicyStateOperation createAddAuthenticationFailureTimeOperation()
OP_TYPE_GET_AUTH_FAILURE_TIMES
with an array of string values representing the timestamps (in generalized
time format) of the authentication failures.@NotNull public static PasswordPolicyStateOperation createAddAuthenticationFailureTimeOperation(@Nullable java.util.Date[] authFailureTimes)
OP_TYPE_GET_AUTH_FAILURE_TIMES
with an array of string values
representing the timestamps (in generalized time format) of the
authentication failures.authFailureTimes
- The set of authentication failure time values to
add. It may be null
or empty if the
server should add the current time.@NotNull public static PasswordPolicyStateOperation createSetAuthenticationFailureTimesOperation(@Nullable java.util.Date[] authFailureTimes)
OP_TYPE_GET_AUTH_FAILURE_TIMES
with
an array of string values representing the timestamps (in generalized time
format) of the authentication failures.authFailureTimes
- The set of times that the user has unsuccessfully
tried to authenticate since the last successful
authentication. It may be null
or empty
if the server should use the current time as the
only failure time.@NotNull public static PasswordPolicyStateOperation createClearAuthenticationFailureTimesOperation()
OP_TYPE_GET_AUTH_FAILURE_TIMES
with an array of
string values representing the timestamps (in generalized time format) of
the authentication failures.@NotNull public static PasswordPolicyStateOperation createGetSecondsUntilAuthenticationFailureUnlockOperation()
OP_TYPE_GET_SECONDS_UNTIL_AUTH_FAILURE_UNLOCK
with a single
integer value that represents the number of seconds until the account
becomes unlocked, or a null
value if the account is not temporarily
locked as a result of authentication failures.@NotNull public static PasswordPolicyStateOperation createGetRemainingAuthenticationFailureCountOperation()
OP_TYPE_GET_REMAINING_AUTH_FAILURE_COUNT
with a single integer
value that represents the number of authentication failures that a user
will be permitted before the account is locked, or a null
value if
the password policy is not configured to lock accounts as a result of too
many failed authentication attempts.@NotNull public static PasswordPolicyStateOperation createGetLastLoginTimeOperation()
OP_TYPE_GET_LAST_LOGIN_TIME
with a single string value that is
the generalized time representation of the user's last login time, or a
null
value if no last login time is available.@NotNull public static PasswordPolicyStateOperation createSetLastLoginTimeOperation(@Nullable java.util.Date lastLoginTime)
OP_TYPE_GET_LAST_LOGIN_TIME
with a single string value that is
the generalized time representation of the user's last login time, or a
null
value if no last login time is available.lastLoginTime
- The last login time to set in the user's entry. It
may be null
if the server should use the
current time.@NotNull public static PasswordPolicyStateOperation createClearLastLoginTimeOperation()
OP_TYPE_GET_LAST_LOGIN_TIME
with a
single string value that is the generalized time representation of the
user's last login time, or a null
value if no last login time is
available.@NotNull public static PasswordPolicyStateOperation createGetLastLoginIPAddressOperation()
OP_TYPE_GET_LAST_LOGIN_IP_ADDRESS
with a single string value that
is the user's last login IP address, or a null
value if no last
login IP address is available.@NotNull public static PasswordPolicyStateOperation createSetLastLoginIPAddressOperation(@NotNull java.lang.String lastLoginIPAddress)
OP_TYPE_GET_LAST_LOGIN_IP_ADDRESS
with a single string value that
is the user's last login IP address, or a null
value if no last
login IP address is available.lastLoginIPAddress
- The last login IP address to set in the user's
entry. It must not be null
.@NotNull public static PasswordPolicyStateOperation createClearLastLoginIPAddressOperation()
OP_TYPE_GET_LAST_LOGIN_IP_ADDRESS
with a single string value that
is the user's last login IP address, or a null
value if no last
login IP address is available.@NotNull public static PasswordPolicyStateOperation createGetSecondsUntilIdleLockoutOperation()
OP_TYPE_GET_SECONDS_UNTIL_IDLE_LOCKOUT
with a single integer value
that represents the number of seconds until the user's account is locked as
a result of being idle for too long, or a null
value if no idle
account lockout is configured.@NotNull public static PasswordPolicyStateOperation createGetPasswordResetStateOperation()
OP_TYPE_GET_PW_RESET_STATE
with a
single boolean value of true
if the user's password must be changed
before the account can be used, or false
if not.@NotNull public static PasswordPolicyStateOperation createSetPasswordResetStateOperation(boolean isReset)
OP_TYPE_GET_PW_RESET_STATE
with a
single boolean value of true
if the user's password must be changed
before the account can be used, or false
if not.isReset
- Specifies whether the user's password must be changed
before performing any other operations.@NotNull public static PasswordPolicyStateOperation createClearPasswordResetStateOperation()
OP_TYPE_GET_PW_RESET_STATE
with a single boolean value of true
if the user's password must be
changed before the account can be used, or false
if not.@NotNull public static PasswordPolicyStateOperation createGetSecondsUntilPasswordResetLockoutOperation()
OP_TYPE_GET_SECONDS_UNTIL_PW_RESET_LOCKOUT
with a single integer
value that represents the number of seconds until the user's account will
be locked unless the password is reset, or a null
value if the
user's password is not in a "must change" state.@NotNull public static PasswordPolicyStateOperation createGetGraceLoginUseTimesOperation()
OP_TYPE_GET_GRACE_LOGIN_USE_TIMES
with an array of string
values in generalized time format.@NotNull public static PasswordPolicyStateOperation createAddGraceLoginUseTimeOperation()
OP_TYPE_GET_GRACE_LOGIN_USE_TIMES
with an array of string values in generalized time format.@NotNull public static PasswordPolicyStateOperation createAddGraceLoginUseTimeOperation(@Nullable java.util.Date[] graceLoginUseTimes)
OP_TYPE_GET_GRACE_LOGIN_USE_TIMES
with an array of string values in generalized time format.graceLoginUseTimes
- The set of grace login use times to add. It
may be null
or empty if the server
should add the current time to the set of grace
login times.@NotNull public static PasswordPolicyStateOperation createSetGraceLoginUseTimesOperation(@Nullable java.util.Date[] graceLoginUseTimes)
OP_TYPE_GET_GRACE_LOGIN_USE_TIMES
with an array of string
values in generalized time format.graceLoginUseTimes
- The set of times that the user has
authenticated using grace logins since his/her
password expired. It amy be null
or
empty if the server should use the current time
as the only grace login use time.@NotNull public static PasswordPolicyStateOperation createClearGraceLoginUseTimesOperation()
OP_TYPE_GET_GRACE_LOGIN_USE_TIMES
with an array of string
values in generalized time format.@NotNull public static PasswordPolicyStateOperation createGetRemainingGraceLoginCountOperation()
OP_TYPE_GET_REMAINING_GRACE_LOGIN_COUNT
with a single integer
value that represents the number of remaining grace logins, or a
null
value if grace login functionality is not enabled for the
user.@NotNull public static PasswordPolicyStateOperation createGetPasswordChangedByRequiredTimeOperation()
OP_TYPE_GET_PW_CHANGED_BY_REQUIRED_TIME
with a single string
value that is the generalized time representation of the most recent
required password change time with which the user complied, or a
null
value if this is not available for the user.@NotNull public static PasswordPolicyStateOperation createSetPasswordChangedByRequiredTimeOperation()
OP_TYPE_GET_PW_CHANGED_BY_REQUIRED_TIME
with a single string
value that is the generalized time representation of the most recent
required password change time with which the user complied, or a
null
value if this is not available for the user.@NotNull public static PasswordPolicyStateOperation createSetPasswordChangedByRequiredTimeOperation(@Nullable java.util.Date requiredTime)
OP_TYPE_GET_PW_CHANGED_BY_REQUIRED_TIME
with a single string
value that is the generalized time representation of the most recent
required password change time with which the user complied, or a
null
value if this is not available for the user.requiredTime
- The required password changed time with which the
user has complied. It may be null
if the
server should use the most recent required change
time.@NotNull public static PasswordPolicyStateOperation createClearPasswordChangedByRequiredTimeOperation()
OP_TYPE_GET_PW_CHANGED_BY_REQUIRED_TIME
with a single string value
that is the generalized time representation of the most recent required
password change time with which the user complied, or a null
value
if this is not available for the user.@NotNull public static PasswordPolicyStateOperation createGetSecondsUntilRequiredChangeTimeOperation()
OP_TYPE_GET_SECONDS_UNTIL_REQUIRED_CHANGE_TIME
with a single
integer value that represents the number of seconds before the user will
be required to change his/her password as a result of the
require-change-by-time property, or a null
value if the user is
not required to change their password for this reason.@Deprecated @NotNull public static PasswordPolicyStateOperation createGetPasswordHistoryOperation()
createGetPasswordHistoryCountOperation()
method.OP_TYPE_GET_PW_HISTORY
with an array of strings representing the
user's password history content.@NotNull public static PasswordPolicyStateOperation createClearPasswordHistoryOperation()
OP_TYPE_GET_PW_HISTORY
with an
array of strings representing the user's password history content.@NotNull public static PasswordPolicyStateOperation createHasRetiredPasswordOperation()
OP_TYPE_HAS_RETIRED_PASSWORD
with a
single boolean value of true
if the user has a valid retired
password, or false
if not.@NotNull public static PasswordPolicyStateOperation createGetPasswordRetiredTimeOperation()
OP_TYPE_GET_PASSWORD_RETIRED_TIME
with a single string value that
is the generalized time representation of the time the user's former
password was retired, or a null
value if the user does not have a
valid retired password.@NotNull public static PasswordPolicyStateOperation createGetRetiredPasswordExpirationTimeOperation()
OP_TYPE_GET_RETIRED_PASSWORD_EXPIRATION_TIME
with a single string
value that is the generalized time representation of the time the user's
retired password will cease to be valid, or a null
value if the
user does not have a valid retired password.@NotNull public static PasswordPolicyStateOperation createPurgeRetiredPasswordOperation()
OP_TYPE_HAS_RETIRED_PASSWORD
with a
single boolean value of true
if the user has a valid retired
password, or false
if not.@NotNull public static PasswordPolicyStateOperation createGetAccountUsabilityNoticesOperation()
OP_TYPE_GET_ACCOUNT_USABILITY_NOTICES
with an
array of strings that represent
PasswordPolicyStateAccountUsabilityWarning
values.@NotNull public static PasswordPolicyStateOperation createGetAccountUsabilityWarningsOperation()
OP_TYPE_GET_ACCOUNT_USABILITY_WARNINGS
with an
array of strings that represent
PasswordPolicyStateAccountUsabilityWarning
values.@NotNull public static PasswordPolicyStateOperation createGetAccountUsabilityErrorsOperation()
OP_TYPE_GET_ACCOUNT_USABILITY_ERRORS
with an
array of strings that represent
PasswordPolicyStateAccountUsabilityError
values.@NotNull public static PasswordPolicyStateOperation createGetAccountIsUsableOperation()
OP_TYPE_GET_ACCOUNT_IS_USABLE
with a single boolean value that
indicates whether the account is usable.@NotNull public static PasswordPolicyStateOperation createGetAccountIsNotYetActiveOperation()
OP_TYPE_GET_ACCOUNT_IS_NOT_YET_ACTIVE
with a single boolean value
that indicates whether the account is not yet active.@NotNull public static PasswordPolicyStateOperation createGetAccountIsExpiredOperation()
OP_TYPE_GET_ACCOUNT_IS_EXPIRED
with a single boolean value that
indicates whether the account is expired.@NotNull public static PasswordPolicyStateOperation createGetPasswordExpirationTimeOperation()
OP_TYPE_GET_PW_EXPIRATION_TIME
with a
single string value that is the generalized time representation of the
password expiration time.@NotNull public static PasswordPolicyStateOperation createGetAccountIsFailureLockedOperation()
OP_TYPE_GET_ACCOUNT_IS_FAILURE_LOCKED
with a single
boolean value that indicates whether the account is failure locked.@NotNull public static PasswordPolicyStateOperation createSetAccountIsFailureLockedOperation(boolean isFailureLocked)
OP_TYPE_GET_ACCOUNT_IS_FAILURE_LOCKED
with a single
boolean value that indicates whether the account is failure locked.isFailureLocked
- Indicates whether the account should be locked
because of too many failed attempts.@NotNull public static PasswordPolicyStateOperation createGetFailureLockoutTimeOperation()
OP_TYPE_GET_FAILURE_LOCKOUT_TIME
with a single string
value that is the generalized time representation of the failure lockout
time.@NotNull public static PasswordPolicyStateOperation createGetAccountIsIdleLockedOperation()
OP_TYPE_GET_ACCOUNT_IS_IDLE_LOCKED
with a single boolean value
that indicates whether the account is idle locked.@NotNull public static PasswordPolicyStateOperation createGetIdleLockoutTimeOperation()
OP_TYPE_GET_IDLE_LOCKOUT_TIME
with a single string value that is
the generalized time representation of the idle lockout time.@NotNull public static PasswordPolicyStateOperation createGetAccountIsResetLockedOperation()
OP_TYPE_GET_ACCOUNT_IS_RESET_LOCKED
with a single boolean value
that indicates whether the account is reset locked.@NotNull public static PasswordPolicyStateOperation createGetResetLockoutTimeOperation()
OP_TYPE_GET_RESET_LOCKOUT_TIME
with a single string value that is
the generalized time representation of the reset lockout time.@NotNull public static PasswordPolicyStateOperation createGetPasswordHistoryCountOperation()
OP_TYPE_GET_PW_HISTORY_COUNT
with a single integer value that
represents the number of passwords in the history, or a null
value
if a password history is not enabled for the user.@NotNull public static PasswordPolicyStateOperation createGetPasswordIsExpiredOperation()
OP_TYPE_GET_PW_IS_EXPIRED
with a single
Boolean value that indicates whether the password is expired, or a
null
value if password expiration is not enabled for the user.@NotNull public static PasswordPolicyStateOperation createGetAvailableSASLMechanismsOperation()
@NotNull public static PasswordPolicyStateOperation createGetAvailableOTPDeliveryMechanismsOperation()
@Deprecated @NotNull public static PasswordPolicyStateOperation createHasTOTPSharedSecret()
createHasTOTPSharedSecretOperation()
instead.OP_TYPE_HAS_TOTP_SHARED_SECRET
with a single boolean value of true
if the user has one or more
TOTP shared secrets, or false
if not.@NotNull public static PasswordPolicyStateOperation createHasTOTPSharedSecretOperation()
OP_TYPE_HAS_TOTP_SHARED_SECRET
with a single boolean value of true
if the user has one or more
TOTP shared secrets, or false
if not.@NotNull public static PasswordPolicyStateOperation createAddTOTPSharedSecretOperation(@NotNull java.lang.String... totpSharedSecrets)
OP_TYPE_HAS_TOTP_SHARED_SECRET
with a single boolean value of
true
if the user has one or more TOTP shared secrets, or
false
if not.totpSharedSecrets
- The base32-encoded representations of the TOTP
shared secrets to add to the user. It must not
be null
or empty.@NotNull public static PasswordPolicyStateOperation createRemoveTOTPSharedSecretOperation(@NotNull java.lang.String... totpSharedSecrets)
OP_TYPE_HAS_TOTP_SHARED_SECRET
with a single boolean value of
true
if the user has one or more TOTP shared secrets, or
false
if not.totpSharedSecrets
- The base32-encoded representations of the TOTP
shared secrets to remove from the user. It must
not be null
or empty.@NotNull public static PasswordPolicyStateOperation createSetTOTPSharedSecretsOperation(@NotNull java.lang.String... totpSharedSecrets)
OP_TYPE_HAS_TOTP_SHARED_SECRET
with a
single boolean value of true
if the user has one or more TOTP
shared secrets, or false
if not.totpSharedSecrets
- The base32-encoded representations of the TOTP
shared secrets for the user. It must not be
null
but may be empty.@NotNull public static PasswordPolicyStateOperation createClearTOTPSharedSecretsOperation()
OP_TYPE_HAS_TOTP_SHARED_SECRET
with a
single boolean value of true
if the user has one or more TOTP
shared secrets, or false
if not.@NotNull public static PasswordPolicyStateOperation createHasYubiKeyPublicIDOperation()
OP_TYPE_HAS_REGISTERED_YUBIKEY_PUBLIC_ID
with a single boolean value of true
if the user has one or more
registered devices, or false
if not.@NotNull public static PasswordPolicyStateOperation createGetRegisteredYubiKeyPublicIDsOperation()
OP_TYPE_GET_REGISTERED_YUBIKEY_PUBLIC_IDS
with an array of string
values that represent the public IDs of the registered YubiKey OTP devices.@NotNull public static PasswordPolicyStateOperation createAddRegisteredYubiKeyPublicIDOperation(@NotNull java.lang.String... publicIDs)
OP_TYPE_GET_REGISTERED_YUBIKEY_PUBLIC_IDS
with an array of
string values that represent the public IDs of the registered YubiKey OTP
devices.publicIDs
- The set of public IDs to add to the set of YubiKey OTP
devices registered for the user. It must not be
null
or empty.@NotNull public static PasswordPolicyStateOperation createRemoveRegisteredYubiKeyPublicIDOperation(@NotNull java.lang.String... publicIDs)
OP_TYPE_GET_REGISTERED_YUBIKEY_PUBLIC_IDS
with
an array of string values that represent the public IDs of the registered
YubiKey OTP devices.publicIDs
- The set of public IDs to remove from the set of YubiKey
OTP devices registered for the user. It must not be
null
or empty.@NotNull public static PasswordPolicyStateOperation createSetRegisteredYubiKeyPublicIDsOperation(@NotNull java.lang.String... publicIDs)
OP_TYPE_GET_REGISTERED_YUBIKEY_PUBLIC_IDS
with an array of string
values that represent the public IDs of the registered YubiKey OTP devices.publicIDs
- The set of public IDs for the YubiKey OTP devices
registered for the user. It must not be null
but may be empty.@NotNull public static PasswordPolicyStateOperation createClearRegisteredYubiKeyPublicIDsOperation()
OP_TYPE_GET_REGISTERED_YUBIKEY_PUBLIC_IDS
with an array of string
values that represent the public IDs of the registered YubiKey OTP devices.@NotNull public static PasswordPolicyStateOperation createHasStaticPasswordOperation()
OP_TYPE_HAS_STATIC_PASSWORD
with a single
boolean value of true
if the user has a static password, or
false
if not.@NotNull public static PasswordPolicyStateOperation createGetLastBindPasswordValidationTimeOperation()
OP_TYPE_GET_LAST_BIND_PASSWORD_VALIDATION_TIME
with a
single string value that is the generalized time representation of the last
bind password validation time, or a null
value if the account does
not have a last bind password validation time.@NotNull public static PasswordPolicyStateOperation createGetSecondsSinceLastBindPasswordValidationOperation()
OP_TYPE_GET_SECONDS_SINCE_LAST_BIND_PASSWORD_VALIDATION
with a
single integer value representing the number of seconds since the last
bind password validation time, or a null
value if the account does
not have a last bind password validation time.@NotNull public static PasswordPolicyStateOperation createSetLastBindPasswordValidationTimeOperation(@Nullable java.util.Date validationTime)
OP_TYPE_GET_LAST_BIND_PASSWORD_VALIDATION_TIME
with a single string value that is the generalized time representation of
the last bind password validation time, or a null
value if the
account does not have a last bind password validation time.validationTime
- The time that the server last invoke password
validators during a bind operation for the target
user. It may be null
if the server should
use the current time.@NotNull public static PasswordPolicyStateOperation createClearLastBindPasswordValidationTimeOperation()
OP_TYPE_GET_LAST_BIND_PASSWORD_VALIDATION_TIME
with a single
string value that is the generalized time representation of the last bind
password validation time, or a null
value if the account does not
have a last bind password validation time.@NotNull public static PasswordPolicyStateOperation createGetAccountIsValidationLockedOperation()
OP_TYPE_GET_ACCOUNT_IS_VALIDATION_LOCKED
with a single boolean
value that indicates whether the account is validation locked.@NotNull public static PasswordPolicyStateOperation createSetAccountIsValidationLockedOperation(boolean isValidationLocked)
OP_TYPE_SET_ACCOUNT_IS_VALIDATION_LOCKED
with a single
boolean value that indicates whether the account is validation locked.isValidationLocked
- Indicates whether the account should be locked
because it contains a password that does not
satisfy all of the configured password
validators.@NotNull public static PasswordPolicyStateOperation createGetRecentLoginHistoryOperation()
OP_TYPE_GET_RECENT_LOGIN_HISTORY
with a single
string value that is a JSON object that represents the user's recent login
history/@NotNull public static PasswordPolicyStateOperation createClearRecentLoginHistoryOperation()
OP_TYPE_GET_RECENT_LOGIN_HISTORY
with a single
string value that is a JSON object that represents the user's recent login
history/public int getOperationType()
@NotNull public ASN1OctetString[] getRawValues()
@Nullable public java.lang.String getStringValue()
null
if there are no values.@NotNull public java.lang.String[] getStringValues()
public boolean getBooleanValue() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- If this operation does not have exactly one
value, or if the value cannot be decoded as
a boolean value.public int getIntValue() throws java.lang.IllegalStateException, java.lang.NumberFormatException
java.lang.IllegalStateException
- If this operation does not have any values.java.lang.NumberFormatException
- If the value cannot be parsed as an
integer.@Nullable public java.util.Date getGeneralizedTimeValue() throws java.text.ParseException
Date
object represented by the value for this
password policy state operation treated as a timestamp in generalized time
form. If there are multiple values, then the first will be returned.Date
object represented by the value for this password
policy state operation treated as a timestamp in generalized time
form, or null
if this operation does not have any values.java.text.ParseException
- If the value cannot be decoded as a timestamp in
generalized time form.@NotNull public java.util.Date[] getGeneralizedTimeValues() throws java.text.ParseException
Date
objects represented by the values for this
password policy state operation treated as timestamps in generalized time
form.Date
objects represented by the values for this
password policy state operation treated as timestamps in
generalized time form.java.text.ParseException
- If any of the values cannot be decoded as a
timestamp in generalized time form.@NotNull public ASN1Element encode()
@NotNull public static PasswordPolicyStateOperation decode(@NotNull ASN1Element element) throws LDAPException
element
- The ASN.1 element to be decoded.LDAPException
- If a problem occurs while attempting to decode the
provided ASN.1 element as a password policy state
operation.@NotNull public java.lang.String toString()
toString
in class java.lang.Object