Interface BindResponse
-
- All Superinterfaces:
Message,Response,ResultResponse
- All Known Implementing Classes:
BindNoDResponse,BindResponseDsml,BindResponseImpl
public interface BindResponse extends ResultResponse
Bind protocol response message used to confirm the results of a bind request message. BindResponse consists simply of an indication from the server of the status of the client's request for authentication.- Author:
- Apache Directory Project
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getServerSaslCreds()Gets the optional property holding SASL authentication response parameters that are SASL mechanism specific.voidsetServerSaslCreds(byte[] serverSaslCreds)Sets the optional property holding SASL authentication response paramters that are SASL mechanism specific.-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponse
getLdapResult
-
-
-
-
Method Detail
-
getServerSaslCreds
byte[] getServerSaslCreds()
Gets the optional property holding SASL authentication response parameters that are SASL mechanism specific. Will return null if the authentication is simple.- Returns:
- the sasl mech. specific credentials or null of auth. is simple
-
setServerSaslCreds
void setServerSaslCreds(byte[] serverSaslCreds)
Sets the optional property holding SASL authentication response paramters that are SASL mechanism specific. Leave null if authentication mode is simple.- Parameters:
serverSaslCreds- the sasl auth. mech. specific credentials
-
-