|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.security.nmas.mgmt.PwdLdapTransport
Constructor Summary | |
PwdLdapTransport(javax.naming.ldap.LdapContext ldapCtx)
PwdTransport constructor |
Method Summary | |
void |
changePwd(java.lang.String tName,
java.lang.String objectDN,
java.lang.String oldPwd,
java.lang.String newPwd)
changePwd() - Change the password for the specified object |
void |
deletePwd(java.lang.String tName,
java.lang.String objectDN)
deletePwd() - Delete the password for the specified object |
java.lang.String |
dnsToX500DN(java.lang.String objectDN)
getPwdPolicyDNX500() - Return the X500 for of the DN for the password policy from the specified object |
java.lang.String |
getPwd(java.lang.String tName,
java.lang.String objectDN)
getPwd() - Read the password from the specified object |
java.lang.String |
getPwdPolicyDN(java.lang.String tName,
java.lang.String objectDN)
getPwdPolicyDN() - Return the DN of the password password policy from the specified object |
com.novell.security.nmas.mgmt.NMASPwdStatus |
getPwdStatus(java.lang.String tName,
java.lang.String objectDN)
getPwdStatus() - Returns an object containing the status flags for the password |
int |
pwdPolicyCheck(java.lang.String tName,
java.lang.String objectDN,
java.lang.String pwdStr)
pwdPolicyCheck() - Verify the password against the specified policy |
void |
setPwd(java.lang.String tName,
java.lang.String objectDN,
java.lang.String pwdStr)
setPwd() - Set the password for the specified object |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public PwdLdapTransport(javax.naming.ldap.LdapContext ldapCtx)
ldapCtx
- An LdapContext object created and authenticated by
the callerMethod Detail |
public void setPwd(java.lang.String tName, java.lang.String objectDN, java.lang.String pwdStr) throws NMASPwdException
setPwd
in interface PwdTransport
tName
- eDirectory tree nameobjectDN
- The distinguished name of the object to write password data to
NMASPwdException
- contains the nmas error codepublic java.lang.String getPwd(java.lang.String tName, java.lang.String objectDN) throws NMASPwdException
getPwd
in interface PwdTransport
tName
- eDirectory tree nameobjectDN
- The distinguished name of the object to write password data to
NMASPwdException
- contains the nmas error codepublic void deletePwd(java.lang.String tName, java.lang.String objectDN) throws NMASPwdException
deletePwd
in interface PwdTransport
tName
- eDirectory tree nameobjectDN
- The distinguished name of the object to write password data to
NMASPwdException
- contains the nmas error codepublic void changePwd(java.lang.String tName, java.lang.String objectDN, java.lang.String oldPwd, java.lang.String newPwd) throws NMASPwdException
changePwd
in interface PwdTransport
tName
- eDirectory tree nameobjectDN
- The distinguished name of the object to write password data tooldPwd
- A String containing the old passwordnewPwd
- A String containing the new password
NMASPwdException
- contains the nmas error codepublic int pwdPolicyCheck(java.lang.String tName, java.lang.String objectDN, java.lang.String pwdStr) throws NMASPwdException
pwdPolicyCheck
in interface PwdTransport
tName
- eDirectory tree nameobjectDN
- The distinguished name of the object to write password data to
NMASPwdException
- contains the nmas error codepublic com.novell.security.nmas.mgmt.NMASPwdStatus getPwdStatus(java.lang.String tName, java.lang.String objectDN) throws NMASPwdException
getPwdStatus
in interface PwdTransport
tName
- eDirectory tree nameobjectDN
- The distinguished name of the object to write password data to
NMASPwdException
- contains the nmas error codepublic java.lang.String getPwdPolicyDN(java.lang.String tName, java.lang.String objectDN) throws NMASPwdException
getPwdPolicyDN
in interface PwdTransport
tName
- eDirectory tree nameobjectDN
- The distinguished name of the object to write password data to
NMASPwdException
- contains the nmas error codepublic java.lang.String dnsToX500DN(java.lang.String objectDN) throws NMASPwdException
dnsToX500DN
in interface PwdTransport
objectDN
- The distinguished name of the object to write password data to
NMASPwdException
- contains the nmas error code
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |