public class PasswordModifyRequestImpl extends org.apache.directory.api.ldap.model.message.AbstractExtendedRequest implements PasswordModifyRequest
PasswdModifyRequestValue ::= SEQUENCE {
userIdentity [0] OCTET STRING OPTIONAL
oldPasswd [1] OCTET STRING OPTIONAL
newPasswd [2] OCTET STRING OPTIONAL }
| Modifier and Type | Field and Description |
|---|---|
private byte[] |
newPassword
The new password
|
private byte[] |
oldPassword
The previous password
|
private byte[] |
userIdentity
The user identity
|
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() |
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() |
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, setRequestNameprivate byte[] userIdentity
private byte[] oldPassword
private byte[] newPassword
public 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 org.apache.directory.api.ldap.model.message.ResultResponseRequestgetResultResponse in class org.apache.directory.api.ldap.model.message.AbstractExtendedRequestpublic String toString()
toString in class org.apache.directory.api.ldap.model.message.AbstractExtendedRequestObject.toString()Copyright © 2003–2019 The Apache Software Foundation. All rights reserved.