public abstract class BindOperationWrapper extends OperationWrapper<BindOperation> implements BindOperation
LOCALBACKENDOPERATIONS| Modifier | Constructor and Description |
|---|---|
protected |
BindOperationWrapper(BindOperation bind)
Creates a new bind operation based on the provided bind operation.
|
| Modifier and Type | Method and Description |
|---|---|
AuthenticationInfo |
getAuthenticationInfo()
Retrieves the authentication info that resulted from processing this bind
operation.
|
AuthenticationType |
getAuthenticationType()
Retrieves the authentication type for this bind operation.
|
org.forgerock.i18n.LocalizableMessage |
getAuthFailureReason()
Retrieves a human-readable message providing the reason that the
authentication failed, if available.
|
org.forgerock.opendj.ldap.DN |
getBindDN()
Retrieves the bind DN for this bind operation.
|
String |
getProtocolVersion()
Retrieves a string representation of the protocol version associated with
this bind request.
|
org.forgerock.opendj.ldap.ByteString |
getRawBindDN()
Retrieves the raw, unprocessed bind DN for this bind operation as contained
in the client request.
|
Entry |
getSASLAuthUserEntry()
Retrieves the user entry associated with the SASL authentication attempt.
|
org.forgerock.opendj.ldap.ByteString |
getSASLCredentials()
Retrieves the SASL credentials for this bind operation.
|
String |
getSASLMechanism()
Retrieves the SASL mechanism for this bind operation.
|
org.forgerock.opendj.ldap.ByteString |
getServerSASLCredentials()
Retrieves the set of server SASL credentials to include in the bind
response.
|
org.forgerock.opendj.ldap.ByteString |
getSimplePassword()
Retrieves the simple authentication password for this bind operation.
|
org.forgerock.opendj.ldap.DN |
getUserEntryDN()
Retrieves the user entry DN for this bind operation.
|
void |
setAuthenticationInfo(AuthenticationInfo authInfo)
Specifies the authentication info that resulted from processing this bind
operation.
|
void |
setAuthFailureReason(org.forgerock.i18n.LocalizableMessage reason)
Specifies the reason that the authentication failed.
|
void |
setProtocolVersion(String protocolVersion)
Specifies the string representation of the protocol version associated with
this bind request.
|
void |
setRawBindDN(org.forgerock.opendj.ldap.ByteString rawBindDN)
Specifies the raw, unprocessed bind DN for this bind operation.
|
void |
setSASLAuthUserEntry(Entry saslAuthUserEntry)
Specifies the user entry associated with the SASL authentication attempt.
|
void |
setSASLCredentials(String saslMechanism,
org.forgerock.opendj.ldap.ByteString saslCredentials)
Specifies the SASL credentials for this bind operation.
|
void |
setServerSASLCredentials(org.forgerock.opendj.ldap.ByteString serverSASLCredentials)
Specifies the set of server SASL credentials to include in the bind
response.
|
void |
setSimplePassword(org.forgerock.opendj.ldap.ByteString simplePassword)
Specifies the simple authentication password for this bind operation.
|
void |
setUserEntryDN(org.forgerock.opendj.ldap.DN userEntryDN)
Set the user entry DN for this bind operation.
|
String |
toString()
Retrieves a string representation of this operation.
|
abort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, equals, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperation, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getProxiedAuthorizationDN, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, hashCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setProxiedAuthorizationDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitabort, addAdditionalLogItem, addRequestControl, addResponseControl, appendErrorMessage, appendMaskedErrorMessage, cancel, checkIfCanceled, disconnectClient, dontSynchronize, getAdditionalLogItems, getAttachment, getAttachments, getAuthorizationDN, getAuthorizationEntry, getCancelRequest, getCancelResult, getClientConnection, getConnectionID, getErrorMessage, getMaskedErrorMessage, getMaskedResultCode, getMatchedDN, getMessageID, getOperationID, getOperationType, getProcessingNanoTime, getProcessingStartTime, getProcessingStopTime, getProcessingTime, getProxiedAuthorizationDN, getReferralURLs, getRequestControl, getRequestControls, getResponseControls, getResultCode, isInnerOperation, isInternalOperation, isSynchronizationOperation, operationCompleted, registerPostResponseCallback, removeAttachment, removeResponseControl, run, setAttachment, setAttachments, setAuthorizationEntry, setDontSynchronize, setErrorMessage, setInnerOperation, setInternalOperation, setMaskedErrorMessage, setMaskedResultCode, setMatchedDN, setProxiedAuthorizationDN, setReferralURLs, setResponseData, setResultCode, setSynchronizationOperation, toStringprotected BindOperationWrapper(BindOperation bind)
bind - The bind operation to wrappublic AuthenticationInfo getAuthenticationInfo()
BindOperationgetAuthenticationInfo in interface BindOperationpublic AuthenticationType getAuthenticationType()
BindOperationgetAuthenticationType in interface BindOperationpublic org.forgerock.i18n.LocalizableMessage getAuthFailureReason()
BindOperationgetAuthFailureReason in interface BindOperationnull if none is available.public org.forgerock.opendj.ldap.DN getBindDN()
BindOperationgetRawBindDN method.getBindDN in interface BindOperationnull if the
raw DN has not yet been processed.public org.forgerock.opendj.ldap.ByteString getRawBindDN()
BindOperationgetRawBindDN in interface BindOperationpublic Entry getSASLAuthUserEntry()
BindOperationgetSASLAuthUserEntry in interface BindOperationnull if it was not a SASL authentication or the SASL
processing was not able to map the request to a user.public org.forgerock.opendj.ldap.ByteString getSASLCredentials()
BindOperationgetSASLCredentials in interface BindOperationnull
if there are none or if the bind does not use SASL authentication.public String getSASLMechanism()
BindOperationgetSASLMechanism in interface BindOperationnull
if the bind does not use SASL authentication.public org.forgerock.opendj.ldap.ByteString getServerSASLCredentials()
BindOperationgetServerSASLCredentials in interface BindOperationnull if there are none.public org.forgerock.opendj.ldap.ByteString getSimplePassword()
BindOperationgetSimplePassword in interface BindOperationpublic org.forgerock.opendj.ldap.DN getUserEntryDN()
BindOperationgetUserEntryDN in interface BindOperationnull if
the bind processing has not progressed far enough to identify the
user or if the user DN could not be determined.public void setAuthenticationInfo(AuthenticationInfo authInfo)
BindOperationprocessSASLBind method.setAuthenticationInfo in interface BindOperationauthInfo - The authentication info that resulted from processing
this bind operation.public void setAuthFailureReason(org.forgerock.i18n.LocalizableMessage reason)
BindOperationsetAuthFailureReason in interface BindOperationreason - providing the reason that the
authentication failed.public void setRawBindDN(org.forgerock.opendj.ldap.ByteString rawBindDN)
BindOperationsetRawBindDN in interface BindOperationrawBindDN - The raw, unprocessed bind DN for this bind operation.public void setSASLAuthUserEntry(Entry saslAuthUserEntry)
BindOperationsetSASLAuthUserEntry in interface BindOperationsaslAuthUserEntry - The user entry associated with the SASL
authentication attempt.public void setSASLCredentials(String saslMechanism, org.forgerock.opendj.ldap.ByteString saslCredentials)
BindOperationsetSASLCredentials in interface BindOperationsaslMechanism - The SASL mechanism for this bind operation.saslCredentials - The SASL credentials for this bind operation, or
null if there are none.public void setServerSASLCredentials(org.forgerock.opendj.ldap.ByteString serverSASLCredentials)
BindOperationsetServerSASLCredentials in interface BindOperationserverSASLCredentials - The set of server SASL credentials to
include in the bind response.public void setSimplePassword(org.forgerock.opendj.ldap.ByteString simplePassword)
BindOperationsetSimplePassword in interface BindOperationsimplePassword - The simple authentication password for this bind
operation.public void setUserEntryDN(org.forgerock.opendj.ldap.DN userEntryDN)
BindOperationsetUserEntryDN in interface BindOperationuserEntryDN - The user entry DN for this bind operation, or
null if the bind processing has not
progressed far enough to identify the user or if
the user DN could not be determined.public String toString()
OperationtoString in interface OperationtoString in class OperationWrapper<BindOperation>public void setProtocolVersion(String protocolVersion)
BindOperationsetProtocolVersion in interface BindOperationprotocolVersion - The string representation of the protocol version
associated with this bind request.public String getProtocolVersion()
BindOperationgetProtocolVersion in interface BindOperationCopyright © 2010-2020 Wren Security. All Rights Reserved.