public class PasswordModifyResponseDecorator extends ExtendedResponseDecorator<PasswordModifyResponse> implements PasswordModifyResponse
EXTENSION_OID
TYPE
Constructor and Description |
---|
PasswordModifyResponseDecorator(LdapApiService codec,
PasswordModifyResponse decoratedMessage)
Creates a new instance of PasswordModifyResponseDecorator.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getGenPassword()
Get the generated password
|
String |
getResponseName()
Overload the parent's getResponseName method, as the pwdModify response should not
contain the responseName.
|
byte[] |
getResponseValue()
Gets the Extended response payload
|
void |
setGenPassword(byte[] genPassword) |
void |
setResponseValue(byte[] responseValue)
sets the Extended response payload
|
computeLength, encode, setResponseName
getLdapResult, setLdapResult
addAllControls, addControl, get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, removeControl, setControlsLength, setMessageId, setMessageLength, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
setResponseName
getLdapResult
addAllControls, addControl, get, getControl, getControls, getMessageId, getType, hasControl, put, removeControl, setMessageId
public PasswordModifyResponseDecorator(LdapApiService codec, PasswordModifyResponse decoratedMessage)
codec
- The LDAP service instancedecoratedMessage
- The decorated messagepublic void setResponseValue(byte[] responseValue)
setResponseValue
in class ExtendedResponseDecorator<PasswordModifyResponse>
responseValue
- The extended payloadpublic byte[] getResponseValue()
getResponseValue
in class ExtendedResponseDecorator<PasswordModifyResponse>
public byte[] getGenPassword()
getGenPassword
in interface PasswordModifyResponse
public void setGenPassword(byte[] genPassword)
genPassword
- the genPassword to setpublic String getResponseName()
getResponseName
in interface ExtendedResponse
getResponseName
in class ExtendedResponseDecorator<PasswordModifyResponse>
Copyright © 2003–2018 The Apache Software Foundation. All rights reserved.