public class PasswordModifyResponseDecorator extends ExtendedResponseDecorator<PasswordModifyResponse> implements PasswordModifyResponse
| Modifier and Type | Field and Description |
|---|---|
private static org.slf4j.Logger |
LOG |
private PasswordModifyResponse |
passwordModifyResponse |
private int |
requestLength
stores the length of the request
|
responseValuemessageLengthEXTENSION_OIDTYPE| Constructor and Description |
|---|
PasswordModifyResponseDecorator(LdapApiService codec,
PasswordModifyResponse decoratedMessage) |
| Modifier and Type | Method and Description |
|---|---|
(package private) int |
computeLengthInternal()
Compute the PasswordModifyResponse extended operation length
|
(package private) java.nio.ByteBuffer |
encodeInternal()
Encodes the PasswordModifyResponse extended operation.
|
byte[] |
getGenPassword()
Get the generated password
|
java.lang.String |
getResponseName()
Overload the parent's getResponseName method, as the pwdModify response should not
contain the responseName.
|
byte[] |
getResponseValue() |
void |
setGenPassword(byte[] genPassword) |
void |
setResponseValue(byte[] responseValue) |
computeLength, encode, setResponseNamegetLdapResult, setLdapResultaddAllControls, addControl, get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, removeControl, setControlsLength, setMessageId, setMessageLength, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitsetResponseNamegetLdapResultaddAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageIdprivate static final org.slf4j.Logger LOG
private PasswordModifyResponse passwordModifyResponse
private int requestLength
public PasswordModifyResponseDecorator(LdapApiService codec, PasswordModifyResponse decoratedMessage)
public void setResponseValue(byte[] responseValue)
setResponseValue in class ExtendedResponseDecorator<PasswordModifyResponse>public byte[] getResponseValue()
getResponseValue in class ExtendedResponseDecorator<PasswordModifyResponse>public byte[] getGenPassword()
getGenPassword in interface PasswordModifyResponsepublic void setGenPassword(byte[] genPassword)
genPassword - the genPassword to setpublic java.lang.String getResponseName()
getResponseName in interface ExtendedResponsegetResponseName in class ExtendedResponseDecorator<PasswordModifyResponse>int computeLengthInternal()
0x30 L1 | [+-- 0x80 L2 genPassword]
java.nio.ByteBuffer encodeInternal()
throws EncoderException
EncoderException - If anything goes wrong.