|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.unboundid.ldap.sdk.unboundidds.extensions.PasswordPolicyStateOperation
@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class PasswordPolicyStateOperation
NOTE: This class is part of the Commercial Edition of the UnboundID LDAP SDK for Java. It is not available for use in applications that include only the Standard Edition of the LDAP SDK, and is not supported for use in conjunction with non-UnboundID products.This class defines an operation that may be used in conjunction with the password policy state extended operation. A password policy state operation can be used to get or set various properties of the password policy state for a user. Operations that are available for use with the password policy state operation include:
Field Summary | |
---|---|
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_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_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_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_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_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_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_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
The operation type that may be used to retrieve the stored password history values for a user. |
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_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_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_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_RETIRED_PASSWORD
The operation type that may be used to determine whether a user has a valid retired password. |
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_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_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_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. |
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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 |
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 |
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 |
createClearLastLoginTimeOperation()
Creates a new password policy state operation that may be used to clear the last login time 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 |
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 |
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 |
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 |
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 |
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 |
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 |
createGetPasswordHistoryOperation()
Creates a new password policy state operation that may be used to retrieve the password history values stored in the user's entry. |
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 |
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 |
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 |
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 |
createPurgeRetiredPasswordOperation()
Creates a new password policy state operation that may be used to purge any retired password from the user's entry. |
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 |
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 |
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 |
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 |
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
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
public static final int OP_TYPE_GET_PW_HISTORY
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
Constructor Detail |
---|
public PasswordPolicyStateOperation(int opType)
opType
- The operation type for this password policy state
operation.public PasswordPolicyStateOperation(int opType, ASN1OctetString[] values)
opType
- The operation type for this password policy state
operation.values
- The set of values for this password policy state operation.Method Detail |
---|
public static PasswordPolicyStateOperation createGetPasswordPolicyDNOperation()
public static PasswordPolicyStateOperation createGetAccountDisabledStateOperation()
public static PasswordPolicyStateOperation createSetAccountDisabledStateOperation(boolean isDisabled)
isDisabled
- Indicates whether the user account should be disabled.
public static PasswordPolicyStateOperation createClearAccountDisabledStateOperation()
public static PasswordPolicyStateOperation createGetAccountExpirationTimeOperation()
public static PasswordPolicyStateOperation createSetAccountExpirationTimeOperation(java.util.Date expirationTime)
expirationTime
- The time that the user's account should expire.
public static PasswordPolicyStateOperation createClearAccountExpirationTimeOperation()
public static PasswordPolicyStateOperation createGetSecondsUntilAccountExpirationOperation()
public static PasswordPolicyStateOperation createGetPasswordChangedTimeOperation()
public static PasswordPolicyStateOperation createGetPasswordExpirationWarnedTimeOperation()
public static PasswordPolicyStateOperation createClearPasswordExpirationWarnedTimeOperation()
public static PasswordPolicyStateOperation createGetSecondsUntilPasswordExpirationOperation()
public static PasswordPolicyStateOperation createGetSecondsUntilPasswordExpirationWarningOperation()
public static PasswordPolicyStateOperation createGetAuthenticationFailureTimesOperation()
public static PasswordPolicyStateOperation createAddAuthenticationFailureTimeOperation()
public static PasswordPolicyStateOperation createSetAuthenticationFailureTimesOperation(java.util.Date[] authFailureTimes)
authFailureTimes
- The set of times that the user has unsuccessfully
tried to authenticate since the last successful
authentication.
public static PasswordPolicyStateOperation createClearAuthenticationFailureTimesOperation()
public static PasswordPolicyStateOperation createGetSecondsUntilAuthenticationFailureUnlockOperation()
public static PasswordPolicyStateOperation createGetRemainingAuthenticationFailureCountOperation()
public static PasswordPolicyStateOperation createGetLastLoginTimeOperation()
public static PasswordPolicyStateOperation createSetLastLoginTimeOperation(java.util.Date lastLoginTime)
lastLoginTime
- The last login time to set in the user's entry.
public static PasswordPolicyStateOperation createClearLastLoginTimeOperation()
public static PasswordPolicyStateOperation createGetSecondsUntilIdleLockoutOperation()
public static PasswordPolicyStateOperation createGetPasswordResetStateOperation()
public static PasswordPolicyStateOperation createSetPasswordResetStateOperation(boolean isReset)
isReset
- Specifies whether the user's password must be changed
before performing any other operations.
public static PasswordPolicyStateOperation createClearPasswordResetStateOperation()
public static PasswordPolicyStateOperation createGetSecondsUntilPasswordResetLockoutOperation()
public static PasswordPolicyStateOperation createGetGraceLoginUseTimesOperation()
public static PasswordPolicyStateOperation createAddGraceLoginUseTimeOperation()
public static PasswordPolicyStateOperation createSetGraceLoginUseTimesOperation(java.util.Date[] graceLoginUseTimes)
graceLoginUseTimes
- The set of times that the user has
authenticated using grace logins since his/her
password expired.
public static PasswordPolicyStateOperation createClearGraceLoginUseTimesOperation()
public static PasswordPolicyStateOperation createGetRemainingGraceLoginCountOperation()
public static PasswordPolicyStateOperation createGetPasswordChangedByRequiredTimeOperation()
public static PasswordPolicyStateOperation createSetPasswordChangedByRequiredTimeOperation()
public static PasswordPolicyStateOperation createClearPasswordChangedByRequiredTimeOperation()
public static PasswordPolicyStateOperation createGetSecondsUntilRequiredChangeTimeOperation()
public static PasswordPolicyStateOperation createGetPasswordHistoryOperation()
public static PasswordPolicyStateOperation createClearPasswordHistoryOperation()
public static PasswordPolicyStateOperation createHasRetiredPasswordOperation()
public static PasswordPolicyStateOperation createGetPasswordRetiredTimeOperation()
public static PasswordPolicyStateOperation createGetRetiredPasswordExpirationTimeOperation()
public static PasswordPolicyStateOperation createPurgeRetiredPasswordOperation()
public int getOperationType()
public ASN1OctetString[] getRawValues()
public java.lang.String getStringValue()
null
if there are no values.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.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.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.public ASN1Element encode()
public static PasswordPolicyStateOperation decode(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.public java.lang.String toString()
toString
in class java.lang.Object
public void toString(java.lang.StringBuilder buffer)
buffer
- The buffer to which the information should be appended.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |