public interface BindOperation extends Operation
setAuthFailureReason
method, which can provide a reason for a failure in a form that will not be
returned to the client but may be written to a log file.LOCALBACKENDOPERATIONS
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.
|
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(LocalizableMessage message)
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.
|
abort, 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, toString, toString
AuthenticationType getAuthenticationType()
org.forgerock.opendj.ldap.ByteString getRawBindDN()
void setRawBindDN(org.forgerock.opendj.ldap.ByteString rawBindDN)
rawBindDN
- The raw, unprocessed bind DN for this bind operation.String getProtocolVersion()
void setProtocolVersion(String protocolVersion)
protocolVersion
- The string representation of the protocol version
associated with this bind request.org.forgerock.opendj.ldap.Dn getBindDN()
getRawBindDN
method.null
if the
raw DN has not yet been processed.org.forgerock.opendj.ldap.ByteString getSimplePassword()
void setSimplePassword(org.forgerock.opendj.ldap.ByteString simplePassword)
simplePassword
- The simple authentication password for this bind
operation.String getSASLMechanism()
null
if the bind does not use SASL authentication.org.forgerock.opendj.ldap.ByteString getSASLCredentials()
null
if there are none or if the bind does not use SASL authentication.void setSASLCredentials(String saslMechanism, org.forgerock.opendj.ldap.ByteString saslCredentials)
saslMechanism
- The SASL mechanism for this bind operation.saslCredentials
- The SASL credentials for this bind operation, or
null
if there are none.org.forgerock.opendj.ldap.ByteString getServerSASLCredentials()
null
if there are none.void setServerSASLCredentials(org.forgerock.opendj.ldap.ByteString serverSASLCredentials)
serverSASLCredentials
- The set of server SASL credentials to
include in the bind response.Entry getSASLAuthUserEntry()
null
if it was not a SASL authentication or the SASL
processing was not able to map the request to a user.void setSASLAuthUserEntry(Entry saslAuthUserEntry)
saslAuthUserEntry
- The user entry associated with the SASL
authentication attempt.LocalizableMessage getAuthFailureReason()
null
if none is available.void setAuthFailureReason(LocalizableMessage message)
message
- providing the reason that the
authentication failed.org.forgerock.opendj.ldap.Dn getUserEntryDN()
null
if
the bind processing has not progressed far enough to identify the
user or if the user DN could not be determined.AuthenticationInfo getAuthenticationInfo()
void setAuthenticationInfo(AuthenticationInfo authInfo)
processSASLBind
method.authInfo
- The authentication info that resulted from processing
this bind operation.void setUserEntryDN(org.forgerock.opendj.ldap.Dn userEntryDN)
userEntryDN
- 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.Copyright © 2010-2017 ForgeRock AS. All Rights Reserved.