|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.AbstractRequest
org.ldaptive.extended.PasswordModifyRequest
public class PasswordModifyRequest
Contains the data required to perform an ldap password modify operation. See RFC 3062. Request is defined as:
PasswdModifyRequestValue ::= SEQUENCE {
userIdentity [0] OCTET STRING OPTIONAL
oldPasswd [1] OCTET STRING OPTIONAL
newPasswd [2] OCTET STRING OPTIONAL }
| Field Summary | |
|---|---|
static String |
OID
OID of this extended request. |
| Constructor Summary | |
|---|---|
PasswordModifyRequest()
Default constructor. |
|
PasswordModifyRequest(String identity)
Creates a new password modify request. |
|
PasswordModifyRequest(String identity,
Credential oldPass,
Credential newPass)
Creates a new password modify request. |
|
| Method Summary | |
|---|---|
byte[] |
encode()
Provides the BER encoding of this request. |
String |
getDn()
Deprecated. use getUserIdentity() |
Credential |
getNewPassword()
Returns the new password. |
String |
getOID()
Returns the OID for this extended request. |
Credential |
getOldPassword()
Returns the old password. |
String |
getUserIdentity()
Returns the user to modify. |
void |
setDn(String dn)
Deprecated. use setUserIdentity(String) |
void |
setNewPassword(Credential newPass)
Sets the new password. |
void |
setOldPassword(Credential oldPass)
Sets the old password. |
void |
setUserIdentity(String identity)
Sets the user to modify. |
String |
toString()
|
| Methods inherited from class org.ldaptive.AbstractRequest |
|---|
getControls, getFollowReferrals, getIntermediateResponseHandlers, setControls, setFollowReferrals, setIntermediateResponseHandlers |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.ldaptive.Request |
|---|
getFollowReferrals, getIntermediateResponseHandlers |
| Methods inherited from interface org.ldaptive.Message |
|---|
getControls |
| Field Detail |
|---|
public static final String OID
| Constructor Detail |
|---|
public PasswordModifyRequest()
public PasswordModifyRequest(String identity)
identity - to modify
public PasswordModifyRequest(String identity,
Credential oldPass,
Credential newPass)
identity - to modifyoldPass - current password for the dnnewPass - desired password for the dn| Method Detail |
|---|
@Deprecated public String getDn()
getUserIdentity()
@Deprecated public void setDn(String dn)
setUserIdentity(String)
dn - to modifypublic String getUserIdentity()
public void setUserIdentity(String identity)
identity - to modifypublic Credential getOldPassword()
public void setOldPassword(Credential oldPass)
oldPass - to verifypublic Credential getNewPassword()
public void setNewPassword(Credential newPass)
newPass - to setpublic byte[] encode()
encode in interface ExtendedRequestpublic String getOID()
getOID in interface ExtendedRequestpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||