public class PasswordPolicyStateExtendedOperation extends ExtendedOperationHandler<PasswordPolicyStateExtendedOperationHandlerCfg>
PasswordPolicyStateValue ::= SEQUENCE { targetUser LDAPDN operations SEQUENCE OF PasswordPolicyStateOperation OPTIONAL } PasswordPolicyStateOperation ::= SEQUENCE { opType ENUMERATED { getPasswordPolicyDN (0), getAccountDisabledState (1), setAccountDisabledState (2), clearAccountDisabledState (3), getAccountExpirationTime (4), setAccountExpirationTime (5), clearAccountExpirationTime (6), getSecondsUntilAccountExpiration (7), getPasswordChangedTime (8), setPasswordChangedTime (9), clearPasswordChangedTime (10), getPasswordExpirationWarnedTime (11), setPasswordExpirationWarnedTime (12), clearPasswordExpirationWarnedTime (13), getSecondsUntilPasswordExpiration (14), getSecondsUntilPasswordExpirationWarning (15), getAuthenticationFailureTimes (16), addAuthenticationFailureTime (17), setAuthenticationFailureTimes (18), clearAuthenticationFailureTimes (19), getSecondsUntilAuthenticationFailureUnlock (20), getRemainingAuthenticationFailureCount (21), getLastLoginTime (22), setLastLoginTime (23), clearLastLoginTime (24), getSecondsUntilIdleLockout (25), getPasswordResetState (26), setPasswordResetState (27), clearPasswordResetState (28), getSecondsUntilPasswordResetLockout (29), getGraceLoginUseTimes (30), addGraceLoginUseTime (31), setGraceLoginUseTimes (32), clearGraceLoginUseTimes (33), getRemainingGraceLoginCount (34), getPasswordChangedByRequiredTime (35), setPasswordChangedByRequiredTime (36), clearPasswordChangedByRequiredTime (37), getSecondsUntilRequiredChangeTime (38), getPasswordHistory (39), --deprecated clearPasswordHistory (40), ... }, opValues SEQUENCE OF OCTET STRING OPTIONAL }
Modifier and Type | Field and Description |
---|---|
static int |
OP_ADD_AUTHENTICATION_FAILURE_TIME
The enumerated value for the addAuthenticationFailureTime operation.
|
static int |
OP_ADD_GRACE_LOGIN_USE_TIME
The enumerated value for the addGraceLoginUseTime operation.
|
static int |
OP_CLEAR_ACCOUNT_DISABLED_STATE
The enumerated value for the clearAccountDisabledState operation.
|
static int |
OP_CLEAR_ACCOUNT_EXPIRATION_TIME
The enumerated value for the clearAccountExpirationTime operation.
|
static int |
OP_CLEAR_AUTHENTICATION_FAILURE_TIMES
The enumerated value for the clearAuthenticationFailureTimes operation.
|
static int |
OP_CLEAR_GRACE_LOGIN_USE_TIMES
The enumerated value for the clearGraceLoginUseTimes operation.
|
static int |
OP_CLEAR_LAST_LOGIN_TIME
The enumerated value for the clearLastLoginTime operation.
|
static int |
OP_CLEAR_PASSWORD_CHANGED_BY_REQUIRED_TIME
The enumerated value for the clearPasswordChangedByRequiredTime operation.
|
static int |
OP_CLEAR_PASSWORD_CHANGED_TIME
The enumerated value for the clearPasswordChangedTime operation.
|
static int |
OP_CLEAR_PASSWORD_EXPIRATION_WARNED_TIME
The enumerated value for the clearPasswordExpirationWarnedTime operation.
|
static int |
OP_CLEAR_PASSWORD_HISTORY
The enumerated value for the clearPasswordHistory operation.
|
static int |
OP_CLEAR_PASSWORD_RESET_STATE
The enumerated value for the clearPasswordResetState operation.
|
static int |
OP_GET_ACCOUNT_DISABLED_STATE
The enumerated value for the getAccountDisabledState operation.
|
static int |
OP_GET_ACCOUNT_EXPIRATION_TIME
The enumerated value for the getAccountExpirationTime operation.
|
static int |
OP_GET_AUTHENTICATION_FAILURE_TIMES
The enumerated value for the getAuthenticationFailureTimes operation.
|
static int |
OP_GET_GRACE_LOGIN_USE_TIMES
The enumerated value for the getGraceLoginUseTimes operation.
|
static int |
OP_GET_LAST_LOGIN_TIME
The enumerated value for the getLastLoginTime operation.
|
static int |
OP_GET_PASSWORD_CHANGED_BY_REQUIRED_TIME
The enumerated value for the getPasswordChangedByRequiredTime operation.
|
static int |
OP_GET_PASSWORD_CHANGED_TIME
The enumerated value for the getPasswordChangedTime operation.
|
static int |
OP_GET_PASSWORD_EXPIRATION_WARNED_TIME
The enumerated value for the getPasswordExpirationWarnedTime operation.
|
static int |
OP_GET_PASSWORD_HISTORY
Deprecated.
|
static int |
OP_GET_PASSWORD_POLICY_DN
The enumerated value for the getPasswordPolicyDN operation.
|
static int |
OP_GET_PASSWORD_RESET_STATE
The enumerated value for the getPasswordResetState operation.
|
static int |
OP_GET_REMAINING_AUTHENTICATION_FAILURE_COUNT
The enumerated value for the getRemainingAuthenticationFailureCount operation.
|
static int |
OP_GET_REMAINING_GRACE_LOGIN_COUNT
The enumerated value for the getRemainingGraceLoginCount operation.
|
static int |
OP_GET_SECONDS_UNTIL_ACCOUNT_EXPIRATION
The enumerated value for the getSecondsUntilAccountExpiration operation.
|
static int |
OP_GET_SECONDS_UNTIL_AUTHENTICATION_FAILURE_UNLOCK
The enumerated value for the getSecondsUntilAuthenticationFailureUnlock operation.
|
static int |
OP_GET_SECONDS_UNTIL_IDLE_LOCKOUT
The enumerated value for the getSecondsUntilIdleLockout operation.
|
static int |
OP_GET_SECONDS_UNTIL_PASSWORD_EXPIRATION
The enumerated value for the getSecondsUntilPasswordExpiration operation.
|
static int |
OP_GET_SECONDS_UNTIL_PASSWORD_EXPIRATION_WARNING
The enumerated value for the getSecondsUntilPasswordExpirationWarning operation.
|
static int |
OP_GET_SECONDS_UNTIL_PASSWORD_RESET_LOCKOUT
The enumerated value for the getSecondsUntilPasswordResetLockout operation.
|
static int |
OP_GET_SECONDS_UNTIL_REQUIRED_CHANGE_TIME
The enumerated value for the getSecondsUntilRequiredChangeTime operation.
|
static int |
OP_SET_ACCOUNT_DISABLED_STATE
The enumerated value for the setAccountDisabledState operation.
|
static int |
OP_SET_ACCOUNT_EXPIRATION_TIME
The enumerated value for the setAccountExpirationTime operation.
|
static int |
OP_SET_AUTHENTICATION_FAILURE_TIMES
The enumerated value for the setAuthenticationFailureTimes operation.
|
static int |
OP_SET_GRACE_LOGIN_USE_TIMES
The enumerated value for the setGraceLoginUseTimes operation.
|
static int |
OP_SET_LAST_LOGIN_TIME
The enumerated value for the setLastLoginTime operation.
|
static int |
OP_SET_PASSWORD_CHANGED_BY_REQUIRED_TIME
The enumerated value for the setPasswordChangedByRequiredTime operation.
|
static int |
OP_SET_PASSWORD_CHANGED_TIME
The enumerated value for the setPasswordChangedTime operation.
|
static int |
OP_SET_PASSWORD_EXPIRATION_WARNED_TIME
The enumerated value for the setPasswordExpirationWarnedTime operation.
|
static int |
OP_SET_PASSWORD_RESET_STATE
The enumerated value for the setPasswordResetState operation.
|
Constructor and Description |
---|
PasswordPolicyStateExtendedOperation()
Create an instance of this password policy state extended operation.
|
Modifier and Type | Method and Description |
---|---|
static void |
encode(Asn1Writer writer,
int opType,
Collection<String> values)
Encodes the provided information in a form suitable for including in the response value.
|
static void |
encode(Asn1Writer writer,
int opType,
List<Long> values)
Encodes the provided information in a form suitable for including in the response value.
|
static void |
encode(Asn1Writer writer,
int opType,
String value)
Encodes the provided information in a form suitable for including in the response value.
|
String |
getExtendedOperationName()
Retrieves the name associated with this extended operation.
|
String |
getExtendedOperationOID()
Retrieves the object OID associated with this extended operation.
|
void |
initializeExtendedOperationHandler(PasswordPolicyStateExtendedOperationHandlerCfg config)
Initializes this extended operation handler based on the information in the provided configuration entry.
|
void |
processExtendedOperation(ExtendedOperation operation)
Processes the provided extended operation.
|
finalizeExtendedOperationHandler, getSupportedControls, getSupportedFeatures, isConfigurationAcceptable, supportsControl
public static final int OP_GET_PASSWORD_POLICY_DN
public static final int OP_GET_ACCOUNT_DISABLED_STATE
public static final int OP_SET_ACCOUNT_DISABLED_STATE
public static final int OP_CLEAR_ACCOUNT_DISABLED_STATE
public static final int OP_GET_ACCOUNT_EXPIRATION_TIME
public static final int OP_SET_ACCOUNT_EXPIRATION_TIME
public static final int OP_CLEAR_ACCOUNT_EXPIRATION_TIME
public static final int OP_GET_SECONDS_UNTIL_ACCOUNT_EXPIRATION
public static final int OP_GET_PASSWORD_CHANGED_TIME
public static final int OP_SET_PASSWORD_CHANGED_TIME
public static final int OP_CLEAR_PASSWORD_CHANGED_TIME
public static final int OP_GET_PASSWORD_EXPIRATION_WARNED_TIME
public static final int OP_SET_PASSWORD_EXPIRATION_WARNED_TIME
public static final int OP_CLEAR_PASSWORD_EXPIRATION_WARNED_TIME
public static final int OP_GET_SECONDS_UNTIL_PASSWORD_EXPIRATION
public static final int OP_GET_SECONDS_UNTIL_PASSWORD_EXPIRATION_WARNING
public static final int OP_GET_AUTHENTICATION_FAILURE_TIMES
public static final int OP_ADD_AUTHENTICATION_FAILURE_TIME
public static final int OP_SET_AUTHENTICATION_FAILURE_TIMES
public static final int OP_CLEAR_AUTHENTICATION_FAILURE_TIMES
public static final int OP_GET_SECONDS_UNTIL_AUTHENTICATION_FAILURE_UNLOCK
public static final int OP_GET_REMAINING_AUTHENTICATION_FAILURE_COUNT
public static final int OP_GET_LAST_LOGIN_TIME
public static final int OP_SET_LAST_LOGIN_TIME
public static final int OP_CLEAR_LAST_LOGIN_TIME
public static final int OP_GET_SECONDS_UNTIL_IDLE_LOCKOUT
public static final int OP_GET_PASSWORD_RESET_STATE
public static final int OP_SET_PASSWORD_RESET_STATE
public static final int OP_CLEAR_PASSWORD_RESET_STATE
public static final int OP_GET_SECONDS_UNTIL_PASSWORD_RESET_LOCKOUT
public static final int OP_GET_GRACE_LOGIN_USE_TIMES
public static final int OP_ADD_GRACE_LOGIN_USE_TIME
public static final int OP_SET_GRACE_LOGIN_USE_TIMES
public static final int OP_CLEAR_GRACE_LOGIN_USE_TIMES
public static final int OP_GET_REMAINING_GRACE_LOGIN_COUNT
public static final int OP_GET_PASSWORD_CHANGED_BY_REQUIRED_TIME
public static final int OP_SET_PASSWORD_CHANGED_BY_REQUIRED_TIME
public static final int OP_CLEAR_PASSWORD_CHANGED_BY_REQUIRED_TIME
public static final int OP_GET_SECONDS_UNTIL_REQUIRED_CHANGE_TIME
@Deprecated public static final int OP_GET_PASSWORD_HISTORY
public static final int OP_CLEAR_PASSWORD_HISTORY
public PasswordPolicyStateExtendedOperation()
initializeExtendedOperationHandler
method.public void initializeExtendedOperationHandler(PasswordPolicyStateExtendedOperationHandlerCfg config)
initializeExtendedOperationHandler
in class ExtendedOperationHandler<PasswordPolicyStateExtendedOperationHandlerCfg>
config
- The configuration that contains the information to use to initialize this extended operation handler.public void processExtendedOperation(ExtendedOperation operation)
processExtendedOperation
in class ExtendedOperationHandler<PasswordPolicyStateExtendedOperationHandlerCfg>
operation
- The extended operation to be processed.public static void encode(Asn1Writer writer, int opType, String value) throws IOException
writer
- The ASN1Writer to use to encode.opType
- The operation type to use for the value.value
- The single value to include in the response.IOException
- if an error occurs while encoding.public static void encode(Asn1Writer writer, int opType, Collection<String> values) throws IOException
writer
- The ASN1Writer to use to encode.opType
- The operation type to use for the value.values
- The set of string values to include in the response.IOException
- if an error occurs while encoding.public static void encode(Asn1Writer writer, int opType, List<Long> values) throws IOException
writer
- The ASN1Writer to use to encode.opType
- The operation type to use for the value.values
- The set of timestamp values to include in the response.IOException
- if an error occurs while encoding.public String getExtendedOperationOID()
ExtendedOperationHandler
getExtendedOperationOID
in class ExtendedOperationHandler<PasswordPolicyStateExtendedOperationHandlerCfg>
null
if there is none.public String getExtendedOperationName()
ExtendedOperationHandler
getExtendedOperationName
in class ExtendedOperationHandler<PasswordPolicyStateExtendedOperationHandlerCfg>
null
if there is none.Copyright 2010-2022 ForgeRock AS.