public class PasswordModifyRequestImpl extends AbstractExtendedRequest implements PasswordModifyRequest
PasswdModifyRequestValue ::= SEQUENCE { userIdentity [0] OCTET STRING OPTIONAL oldPasswd [1] OCTET STRING OPTIONAL newPasswd [2] OCTET STRING OPTIONAL }
EXTENSION_OID
Constructor and Description |
---|
PasswordModifyRequestImpl()
Create a new instance of the PwdModifyRequest extended operation
|
PasswordModifyRequestImpl(int messageId)
Create a new instance of the PwdModifyRequest extended operation
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getNewPassword() |
byte[] |
getOldPassword() |
PasswordModifyResponse |
getResultResponse()
The result containing response for this request.
|
byte[] |
getUserIdentity() |
void |
setNewPassword(byte[] newPassword)
Set a new password
|
void |
setOldPassword(byte[] oldPassword)
Set the old password
|
void |
setUserIdentity(byte[] userIdentity)
Set the user identity
|
String |
toString()
Get a String representation of an Extended Request
|
addAllControls, addControl, equals, getRequestName, getResponse, getResponseType, hashCode, removeControl, setMessageId, setRequestName, setResponse
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put, toString
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
getResponseType
hasResponse
get, getControl, getControls, getMessageId, getType, hasControl, put
public PasswordModifyRequestImpl()
public PasswordModifyRequestImpl(int messageId)
messageId
- The message IDpublic 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 setpublic PasswordModifyResponse getResultResponse()
getResultResponse
in interface ResultResponseRequest
getResultResponse
in class AbstractExtendedRequest
public String toString()
AbstractExtendedRequest
toString
in class AbstractExtendedRequest
Object.toString()
Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.