org.apache.directory.shared.ldap.message
Interface BindResponse

All Superinterfaces:
Message, Response, ResultResponse
All Known Implementing Classes:
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.

Version:
$Rev: 379008 $
Author:
Apache Directory Project

Field Summary
static MessageTypeEnum TYPE
          Bind response message type enumeration value
 
Method Summary
 byte[] getServerSaslCreds()
          Gets the optional property holding SASL authentication response paramters that are SASL mechanism specific.
 void setServerSaslCreds(byte[] a_serverSaslCreds)
          Sets the optional property holding SASL authentication response paramters that are SASL mechanism specific.
 
Methods inherited from interface org.apache.directory.shared.ldap.message.ResultResponse
getLdapResult
 
Methods inherited from interface org.apache.directory.shared.ldap.message.Message
add, get, getControls, getMessageId, getType, put, remove
 

Field Detail

TYPE

public static final MessageTypeEnum TYPE
Bind response message type enumeration value

Method Detail

getServerSaslCreds

public byte[] getServerSaslCreds()
Gets the optional property holding SASL authentication response paramters 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

public void setServerSaslCreds(byte[] a_serverSaslCreds)
Sets the optional property holding SASL authentication response paramters that are SASL mechanism specific. Leave null if authentication mode is simple.

Parameters:
a_serverSaslCreds - the sasl auth. mech. specific credentials


Copyright © 2003-2006 . All Rights Reserved.