Interface BindResponse
- All Superinterfaces:
Message, Response, ResultResponse
- All Known Implementing Classes:
BindNoDResponse, BindResponseImpl
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
Modifier and TypeMethodDescriptionbyte[]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 Message
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdMethods inherited from interface ResultResponse
getLdapResult
-
Method Details
-
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
-