org.pfsw.tools.beluga.ldap.messages
Class BindRequest

java.lang.Object
  extended by org.pfsw.tools.beluga.ldap.messages.AbstractMessage
      extended by org.pfsw.tools.beluga.ldap.messages.RequestMessage
          extended by org.pfsw.tools.beluga.ldap.messages.BindRequest

public class BindRequest
extends RequestMessage

Represents a bind request from a client.

Version:
1.0
Author:
Manfred Duchrow

Constructor Summary
BindRequest()
          Initialize the new instance with the raw data transmitted by the client.
 
Method Summary
 String getDN()
          Return the distinguished name for the user to bind against the directory
 byte[] getPassword()
          Return the password for the user to bind against the directory
 boolean isBindRequest()
          Returns true because this is a bind request.
 void setDN(String dn)
          Set the distinguished name for the user to bind against the directory
 void setPassword(byte[] password)
          Set the password for the user to bind against the directory
 
Methods inherited from class org.pfsw.tools.beluga.ldap.messages.RequestMessage
isAddRequest, isDeleteRequest, isModifyRequest, isSearchRequest, isUnbindRequest
 
Methods inherited from class org.pfsw.tools.beluga.ldap.messages.AbstractMessage
getControls, getMessageId, getRawData, setControls, setMessageId, setRawData, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BindRequest

public BindRequest()
Initialize the new instance with the raw data transmitted by the client.

Method Detail

isBindRequest

public boolean isBindRequest()
Returns true because this is a bind request.

Overrides:
isBindRequest in class RequestMessage

getDN

public String getDN()
Return the distinguished name for the user to bind against the directory


setDN

public void setDN(String dn)
Set the distinguished name for the user to bind against the directory


getPassword

public byte[] getPassword()
Return the password for the user to bind against the directory


setPassword

public void setPassword(byte[] password)
Set the password for the user to bind against the directory



Copyright © 2012 Manfred Duchrow Consulting & Software. All Rights Reserved.