public class BindResponseDsml extends AbstractResultResponseDsml<BindResponse> implements BindResponse
Constructor and Description |
---|
BindResponseDsml(LdapApiService codec)
Creates a new getDecoratedMessage() of AuthResponseDsml.
|
BindResponseDsml(LdapApiService codec,
BindResponse ldapMessage)
Creates a new getDecoratedMessage() of AuthResponseDsml.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getServerSaslCreds()
Gets the optional property holding SASL authentication response parameters
that are SASL mechanism specific.
|
void |
setServerSaslCreds(byte[] serverSaslCreds)
Sets the optional property holding SASL authentication response paramters
that are SASL mechanism specific.
|
org.dom4j.Element |
toDsml(org.dom4j.Element root)
Converts the request/reponse to its XML representation in the DSMLv2 format
|
getLdapResult
addAllControls, addControl, get, getCodecService, getControl, getControls, getCurrentControl, getDecorated, getMessageId, getType, hasControl, put, removeControl, setMessageId
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public BindResponseDsml(LdapApiService codec)
codec
- The LDAP Service to usepublic BindResponseDsml(LdapApiService codec, BindResponse ldapMessage)
codec
- The LDAP Service to useldapMessage
- the message to decoratepublic org.dom4j.Element toDsml(org.dom4j.Element root)
toDsml
in interface DsmlDecorator<BindResponse>
root
- the root dom4j Elementpublic byte[] getServerSaslCreds()
getServerSaslCreds
in interface BindResponse
public void setServerSaslCreds(byte[] serverSaslCreds)
setServerSaslCreds
in interface BindResponse
serverSaslCreds
- the sasl auth. mech. specific credentialsCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.