Interface PasswordModifyRequest
-
- All Superinterfaces:
ExtendedRequest,Message,Request,ResultResponseRequest,SingleReplyRequest
- All Known Implementing Classes:
PasswordModifyRequestImpl
public interface PasswordModifyRequest extends ExtendedRequest
The RFC 3062 PwdModify request :PasswdModifyRequestValue ::= SEQUENCE { userIdentity [0] OCTET STRING OPTIONAL oldPasswd [1] OCTET STRING OPTIONAL newPasswd [2] OCTET STRING OPTIONAL }- Author:
- Apache Directory Project
-
-
Field Summary
Fields Modifier and Type Field Description static StringEXTENSION_OIDThe OID for the pwdModify extended operation request.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description byte[]getNewPassword()byte[]getOldPassword()byte[]getUserIdentity()voidsetNewPassword(byte[] newPassword)Set a new passwordvoidsetOldPassword(byte[] oldPassword)Set the old passwordvoidsetUserIdentity(byte[] userIdentity)Set the user identity-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ExtendedRequest
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestName
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Message
get, getControl, getControls, getMessageId, getType, hasControl, put
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.Request
hasResponse
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponseRequest
getResultResponse
-
Methods inherited from interface org.apache.directory.api.ldap.model.message.SingleReplyRequest
getResponseType
-
-
-
-
Field Detail
-
EXTENSION_OID
static final String EXTENSION_OID
The OID for the pwdModify extended operation request.- See Also:
- Constant Field Values
-
-
Method Detail
-
getUserIdentity
byte[] getUserIdentity()
- Returns:
- the userIdentity
-
setUserIdentity
void setUserIdentity(byte[] userIdentity)
Set the user identity- Parameters:
userIdentity- The userIdentity to set
-
getOldPassword
byte[] getOldPassword()
- Returns:
- the oldPassword
-
setOldPassword
void setOldPassword(byte[] oldPassword)
Set the old password- Parameters:
oldPassword- The oldPassword to set
-
getNewPassword
byte[] getNewPassword()
- Returns:
- the newPassword
-
setNewPassword
void setNewPassword(byte[] newPassword)
Set a new password- Parameters:
newPassword- The new password to set
-
-