|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.security.nmas.mgmt.NMASSimplePwdMgr
Provides a simple set of controls to access (set/get/delete) the NMAS Simple Password.
Constructor Summary | |
NMASSimplePwdMgr(javax.naming.ldap.LdapContext ldapCtx)
NMASSimplePwdMgr constructor |
|
NMASSimplePwdMgr(com.novell.security.nmas.mgmt.LoginDataTransport transport)
The NMASLoginDataMgr transport constructor. |
Method Summary | |
void |
deleteSimplePwd(java.lang.String tName,
java.lang.String objectDN)
Deletes the Simple Password from the given object. |
java.lang.String |
getSimplePwd(java.lang.String tName,
java.lang.String objectDN)
Reads the Simple Password from the given object. |
boolean |
isSimplePwdAssigned(java.lang.String tName,
java.lang.String objectDN)
Determines if a Simple Password has been assigned to the given user object. |
void |
setSimplePwd(java.lang.String tName,
java.lang.String objectDN,
java.lang.String pwd)
Writes the given Simple Password to the given object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NMASSimplePwdMgr(javax.naming.ldap.LdapContext ldapCtx)
ldapCtx
- An LdapContext object created and authenticated by the caller.public NMASSimplePwdMgr(com.novell.security.nmas.mgmt.LoginDataTransport transport)
transport
- A LoginDataTransport object initialized and authenticated by the caller.Method Detail |
public final void setSimplePwd(java.lang.String tName, java.lang.String objectDN, java.lang.String pwd) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object in dot notation (i.e. usr1.novell).pwd
- A string containing the password to be written.
NMASLoginDataException
- contains the NMAS error code.public final boolean isSimplePwdAssigned(java.lang.String tName, java.lang.String objectDN) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object in dot notation (for example, usr1.novell).
NMASLoginDataException
- contains the NMAS error code.public final java.lang.String getSimplePwd(java.lang.String tName, java.lang.String objectDN) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object in dot notation (i.e. usr1.novell).
NMASLoginDataException
- contains the NMAS error code.public final void deleteSimplePwd(java.lang.String tName, java.lang.String objectDN) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object in dot notation (i.e. usr1.novell).
NMASLoginDataException
- contains the NMAS error code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |