Package org.ldaptive.extended
Class PasswordModifyRequest
- java.lang.Object
-
- org.ldaptive.AbstractRequestMessage
-
- org.ldaptive.extended.ExtendedRequest
-
- org.ldaptive.extended.PasswordModifyRequest
-
- All Implemented Interfaces:
Request
public class PasswordModifyRequest extends ExtendedRequest
LDAP password modify request defined as:PasswdModifyRequestValue ::= SEQUENCE { userIdentity [0] OCTET STRING OPTIONAL oldPasswd [1] OCTET STRING OPTIONAL newPasswd [2] OCTET STRING OPTIONAL }
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.ldaptive.extended.ExtendedRequest
ExtendedRequest.Builder
-
Nested classes/interfaces inherited from class org.ldaptive.AbstractRequestMessage
AbstractRequestMessage.AbstractBuilder<B,T extends AbstractRequestMessage>
-
-
Field Summary
Fields Modifier and Type Field Description static String
OID
OID of this request.-
Fields inherited from class org.ldaptive.extended.ExtendedRequest
PROTOCOL_OP
-
Fields inherited from class org.ldaptive.AbstractRequestMessage
logger
-
-
Constructor Summary
Constructors Constructor Description PasswordModifyRequest()
Creates a new password modify request.PasswordModifyRequest(String identity)
Creates a new password modify request.PasswordModifyRequest(String identity, String oldPass)
Creates a new password modify request.PasswordModifyRequest(String identity, String oldPass, String newPass)
Creates a new password modify request.
-
Method Summary
-
Methods inherited from class org.ldaptive.extended.ExtendedRequest
builder, getRequestEncoders, setRequestValue, toString
-
Methods inherited from class org.ldaptive.AbstractRequestMessage
encode, getControls, getResponseTimeout, setControls, setResponseTimeout
-
-
-
-
Field Detail
-
OID
public static final String OID
OID of this request.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
PasswordModifyRequest
public PasswordModifyRequest()
Creates a new password modify request.
-
PasswordModifyRequest
public PasswordModifyRequest(String identity)
Creates a new password modify request.- Parameters:
identity
- to modify or null
-
PasswordModifyRequest
public PasswordModifyRequest(String identity, String oldPass)
Creates a new password modify request.- Parameters:
identity
- to modify or nulloldPass
- current password for the dn or null
-
-