public class PasswordModifyRequestDecorator extends ExtendedRequestDecorator<PasswordModifyRequest> implements PasswordModifyRequest
EXTENSION_OID
Constructor and Description |
---|
PasswordModifyRequestDecorator(LdapApiService codec,
PasswordModifyRequest decoratedMessage)
Create a new decorator instance
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getNewPassword() |
byte[] |
getOldPassword() |
byte[] |
getRequestValue()
Gets the Extended request payload
|
PasswordModifyResponse |
getResultResponse()
If called for the first time, this method creates a result containing
response object for this request.
|
byte[] |
getUserIdentity() |
void |
setNewPassword(byte[] newPassword)
Set a new password
|
void |
setOldPassword(byte[] oldPassword)
Set the old password
|
void |
setRequestValue(byte[] requestValue)
sets the Extended request payload
|
void |
setUserIdentity(byte[] userIdentity)
Set the user identity
|
addAllControls, addControl, computeLength, encode, getRequestName, removeControl, setMessageId, setRequestName
abandon, addAbandonListener, getResponseType, isAbandoned
hasResponse
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
getResponseType
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
public PasswordModifyRequestDecorator(LdapApiService codec, PasswordModifyRequest decoratedMessage)
codec
- The codec servicedecoratedMessage
- The decorated PwdModifyRequestpublic void setRequestValue(byte[] requestValue)
setRequestValue
in class ExtendedRequestDecorator<PasswordModifyRequest>
requestValue
- The extended payloadpublic byte[] getRequestValue()
getRequestValue
in class ExtendedRequestDecorator<PasswordModifyRequest>
public PasswordModifyResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
getResultResponse
in class ResultResponseRequestDecorator<PasswordModifyRequest>
public byte[] getUserIdentity()
getUserIdentity
in interface PasswordModifyRequest
public void setUserIdentity(byte[] userIdentity)
PasswordModifyRequest
setUserIdentity
in interface PasswordModifyRequest
userIdentity
- the userIdentity to setpublic byte[] getOldPassword()
getOldPassword
in interface PasswordModifyRequest
public void setOldPassword(byte[] oldPassword)
PasswordModifyRequest
setOldPassword
in interface PasswordModifyRequest
oldPassword
- the oldPassword to setpublic byte[] getNewPassword()
getNewPassword
in interface PasswordModifyRequest
public void setNewPassword(byte[] newPassword)
PasswordModifyRequest
setNewPassword
in interface PasswordModifyRequest
newPassword
- the newPassword to setCopyright © 2003–2018 The Apache Software Foundation. All rights reserved.