Interface PasswordModifyRequest
- All Superinterfaces:
org.apache.directory.api.ldap.model.message.ExtendedRequest, org.apache.directory.api.ldap.model.message.Message, org.apache.directory.api.ldap.model.message.Request, org.apache.directory.api.ldap.model.message.ResultResponseRequest, org.apache.directory.api.ldap.model.message.SingleReplyRequest
- All Known Implementing Classes:
PasswordModifyRequestImpl
public interface PasswordModifyRequest
extends org.apache.directory.api.ldap.model.message.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
FieldsModifier and TypeFieldDescriptionstatic final StringThe OID for the pwdModify extended operation request. -
Method Summary
Modifier and TypeMethodDescriptionbyte[]Get the new passwordbyte[]Get the previous passwordbyte[]Get the user identiotyvoidsetNewPassword(byte[] newPassword) Set a new passwordvoidsetOldPassword(byte[] oldPassword) Set the old passwordvoidsetUserIdentity(byte[] userIdentity) Set the user identityMethods inherited from interface org.apache.directory.api.ldap.model.message.ExtendedRequest
addAllControls, addControl, getRequestName, removeControl, setMessageId, setRequestNameMethods inherited from interface org.apache.directory.api.ldap.model.message.Message
get, getControl, getControls, getMessageId, getType, hasControl, putMethods inherited from interface org.apache.directory.api.ldap.model.message.Request
hasResponseMethods inherited from interface org.apache.directory.api.ldap.model.message.ResultResponseRequest
getResultResponseMethods inherited from interface org.apache.directory.api.ldap.model.message.SingleReplyRequest
getResponseType
-
Field Details
-
EXTENSION_OID
-
-
Method Details
-
getUserIdentity
byte[] getUserIdentity()Get the user identioty- Returns:
- the userIdentity
-
setUserIdentity
void setUserIdentity(byte[] userIdentity) Set the user identity- Parameters:
userIdentity- The userIdentity to set
-
getOldPassword
byte[] getOldPassword()Get the previous password- Returns:
- the oldPassword
-
setOldPassword
void setOldPassword(byte[] oldPassword) Set the old password- Parameters:
oldPassword- The oldPassword to set
-
getNewPassword
byte[] getNewPassword()Get the new password- Returns:
- the newPassword
-
setNewPassword
void setNewPassword(byte[] newPassword) Set a new password- Parameters:
newPassword- The new password to set
-