org.apache.directory.shared.ldap.message.internal
Interface InternalBindResponse

All Superinterfaces:
InternalMessage, InternalResponse, InternalResultResponse
All Known Implementing Classes:
BindResponseImpl

public interface InternalBindResponse
extends InternalResultResponse

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: 910150 $
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 parameters 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.internal.InternalResultResponse
getLdapResult
 
Methods inherited from interface org.apache.directory.shared.ldap.message.internal.InternalMessage
add, addAll, get, getControls, getMessageId, getType, hasControl, put, remove
 

Field Detail

TYPE

static final MessageTypeEnum TYPE
Bind response message type enumeration value

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[] 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-2011 Apache Software Foundation. All Rights Reserved.