public class PasswordModifyRequestImpl extends AbstractExtendedRequest implements PasswordModifyRequest
PasswdModifyRequestValue ::= SEQUENCE {
userIdentity [0] OCTET STRING OPTIONAL
oldPasswd [1] OCTET STRING OPTIONAL
newPasswd [2] OCTET STRING OPTIONAL }
controlsEXTENSION_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, setResponsehasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNamegetResponseTypehasResponseget, getControl, getControls, getMessageId, getType, hasControl, putpublic PasswordModifyRequestImpl()
public PasswordModifyRequestImpl(int messageId)
messageId - The message IDpublic byte[] getUserIdentity()
getUserIdentity in interface PasswordModifyRequestpublic void setUserIdentity(byte[] userIdentity)
PasswordModifyRequestsetUserIdentity in interface PasswordModifyRequestuserIdentity - the userIdentity to setpublic byte[] getOldPassword()
getOldPassword in interface PasswordModifyRequestpublic void setOldPassword(byte[] oldPassword)
PasswordModifyRequestsetOldPassword in interface PasswordModifyRequestoldPassword - the oldPassword to setpublic byte[] getNewPassword()
getNewPassword in interface PasswordModifyRequestpublic void setNewPassword(byte[] newPassword)
PasswordModifyRequestsetNewPassword in interface PasswordModifyRequestnewPassword - the newPassword to setpublic PasswordModifyResponse getResultResponse()
getResultResponse in interface ResultResponseRequestgetResultResponse in class AbstractExtendedRequestpublic String toString()
AbstractExtendedRequesttoString in class AbstractExtendedRequestObject.toString()Copyright © 2021. All rights reserved.