@NotMutable @ThreadSafety(level=COMPLETELY_THREADSAFE) public final class ValidateTOTPPasswordExtendedRequest extends ExtendedRequest
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.
ValidateTOTPPasswordRequest ::= SEQUENCE {
userDN [0] LDAPDN,
totpPassword [1] OCTET STRING,
... }
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VALIDATE_TOTP_PASSWORD_REQUEST_OID
The OID (1.3.6.1.4.1.30221.2.6.15) for the validate TOTP password extended
request.
|
TYPE_EXTENDED_REQUEST_OID, TYPE_EXTENDED_REQUEST_VALUE| Constructor and Description |
|---|
ValidateTOTPPasswordExtendedRequest(ExtendedRequest extendedRequest)
Creates a new validate TOTP password extended request from the provided
generic extended request.
|
ValidateTOTPPasswordExtendedRequest(java.lang.String userDN,
java.lang.String totpPassword,
Control... controls)
Creates a new validate TOTP password extended request with the provided
information.
|
| Modifier and Type | Method and Description |
|---|---|
ValidateTOTPPasswordExtendedRequest |
duplicate()
Creates a new instance of this LDAP request that may be modified without
impacting this request.
|
ValidateTOTPPasswordExtendedRequest |
duplicate(Control[] controls)
Creates a new instance of this LDAP request that may be modified without
impacting this request.
|
java.lang.String |
getExtendedRequestName()
Retrieves the user-friendly name for the extended request, if available.
|
java.lang.String |
getTOTPPassword()
Retrieves the TOTP password to validate.
|
java.lang.String |
getUserDN()
Retrieves the DN of the user for whom to validate the TOTP password.
|
void |
toString(java.lang.StringBuilder buffer)
Appends a string representation of this request to the provided buffer.
|
encodeProtocolOp, getLastMessageID, getOID, getOperationType, getProtocolOpType, getValue, hasValue, process, responseReceived, toCode, writeTofollowReferrals, getControl, getControlList, getControls, getIntermediateResponseListener, getReferralConnector, getReferralConnectorInternal, getReferralDepth, getResponseTimeoutMillis, hasControl, hasControl, setFollowReferrals, setIntermediateResponseListener, setReferralConnector, setReferralDepth, setResponseTimeoutMillis, toString@NotNull public static final java.lang.String VALIDATE_TOTP_PASSWORD_REQUEST_OID
public ValidateTOTPPasswordExtendedRequest(@NotNull java.lang.String userDN, @NotNull java.lang.String totpPassword, @Nullable Control... controls)
userDN - The DN of the user for whom to validate the TOTP
password.totpPassword - The TOTP password to validate.controls - The set of controls to include in the request.public ValidateTOTPPasswordExtendedRequest(@NotNull ExtendedRequest extendedRequest) throws LDAPException
extendedRequest - The generic extended request to parse as a
validate TOTP extended request.LDAPException - If a problem is encountered while attempting to
parse the provided extended request.@NotNull public java.lang.String getUserDN()
@NotNull public java.lang.String getTOTPPassword()
@NotNull public ValidateTOTPPasswordExtendedRequest duplicate()
duplicate in interface ReadOnlyLDAPRequestduplicate in class ExtendedRequest@NotNull public ValidateTOTPPasswordExtendedRequest duplicate(@Nullable Control[] controls)
duplicate in interface ReadOnlyLDAPRequestduplicate in class ExtendedRequestcontrols - The set of controls to include in the duplicate request.@NotNull public java.lang.String getExtendedRequestName()
getExtendedRequestName in class ExtendedRequestpublic void toString(@NotNull java.lang.StringBuilder buffer)
toString in interface ProtocolOptoString in interface ReadOnlyLDAPRequesttoString in class ExtendedRequestbuffer - The buffer to which to append a string representation of
this request.