public class BindResponseImpl extends AbstractResultResponse implements BindResponse
Constructor and Description |
---|
BindResponseImpl()
Creates a BindResponse as a reply to an BindRequest.
|
BindResponseImpl(int id)
Creates a BindResponse as a reply to an BindRequest.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Checks to see if this BindResponse is equal to another BindResponse.
|
byte[] |
getServerSaslCreds()
Gets the optional property holding SASL authentication response paramters
that are SASL mechanism specific.
|
int |
hashCode() |
void |
setServerSaslCreds(byte[] serverSaslCreds)
Sets the optional property holding SASL authentication response paramters
that are SASL mechanism specific.
|
String |
toString()
Get a String representation of a BindResponse
|
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId, toString
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public BindResponseImpl()
public BindResponseImpl(int id)
id
- the session unique message idpublic byte[] getServerSaslCreds()
getServerSaslCreds
in interface BindResponse
public void setServerSaslCreds(byte[] serverSaslCreds)
setServerSaslCreds
in interface BindResponse
serverSaslCreds
- the sasl auth. mech. specific credentialspublic int hashCode()
hashCode
in class AbstractResultResponse
Object.hashCode()
public boolean equals(Object obj)
equals
in class AbstractResultResponse
obj
- the object to test for equality with this BindResponsepublic String toString()
toString
in class AbstractResultResponse
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.