public class PasswordModifyRequestDecorator extends ExtendedRequestDecorator<PasswordModifyRequest> implements PasswordModifyRequest
requestValue
messageLength
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() |
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) |
void |
setUserIdentity(byte[] userIdentity)
Set the user identity
|
addAllControls, addControl, computeLength, encode, getExtendedRequestLength, getRequestName, getRequestNameBytes, removeControl, setExtendedRequestLength, setMessageId, setRequestName, setRequestNameBytes
abandon, addAbandonListener, getResponseType, isAbandoned
hasResponse
get, getCodecService, getControl, getControls, getControlsLength, getCurrentControl, getDecorated, getDecorator, getMessageId, getMessageLength, getType, hasControl, put, setControlsLength, setMessageLength, toString
clone, equals, finalize, 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>
public 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–2014 The Apache Software Foundation. All rights reserved.