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

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The OID for the pwdModify extended operation request.
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    Get the new password
    byte[]
    Get the previous password
    byte[]
    Get the user identioty
    void
    setNewPassword(byte[] newPassword)
    Set a new password
    void
    setOldPassword(byte[] oldPassword)
    Set the old password
    void
    setUserIdentity(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 Details

    • EXTENSION_OID

      static final String EXTENSION_OID
      The OID for the pwdModify extended operation request.
      See Also:
  • 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