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 }
responseEXTENSION_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, getResponseType, hashCode, removeControl, setMessageId, setRequestNamehasResponseget, getControl, getControls, getMessageId, getType, hasControl, put, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitaddAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNamepublic 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–2015 The Apache Software Foundation. All rights reserved.