|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.security.nmas.mgmt.NMASLoginDataMgr
Provides a simple set of controls to access (set/get/delete) NMAS login data.
Constructor Summary | |
NMASLoginDataMgr(javax.naming.ldap.LdapContext ldapCtx)
NMASLoginDataMgr constructor |
|
NMASLoginDataMgr(com.novell.security.nmas.mgmt.LoginDataTransport transport)
NMASLoginDataMgr constructor |
Method Summary | |
void |
deleteLoginConfig(java.lang.String tName,
java.lang.String objectDN,
int[] methodID,
java.lang.String tag)
Deletes the data under the given tag name from the given object. |
void |
deleteLoginSecret(java.lang.String tName,
java.lang.String objectDN,
int[] methodID,
java.lang.String tag)
Deletes the data under the given tag name from the given object. |
byte[] |
getLoginConfig(java.lang.String tName,
java.lang.String objectDN,
int[] methodID,
java.lang.String tag)
Reads the tagged data from the given object. |
void |
putLoginConfig(java.lang.String tName,
java.lang.String objectDN,
int[] methodID,
java.lang.String tag,
byte[] data)
Writes the given data to the given object with the given tag name. |
void |
putLoginSecret(java.lang.String tName,
java.lang.String objectDN,
int[] methodID,
java.lang.String tag,
byte[] data)
Writes the given data to the given object with the given tag name. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public NMASLoginDataMgr(javax.naming.ldap.LdapContext ldapCtx)
ldapCtx
- An LdapContext object created and authenticated by the caller.public NMASLoginDataMgr(com.novell.security.nmas.mgmt.LoginDataTransport transport)
transport
- A LoginDataTransport object initialized with the appropriate connection.Method Detail |
public void putLoginConfig(java.lang.String tName, java.lang.String objectDN, int[] methodID, java.lang.String tag, byte[] data) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object to write login data to.methodID
- An integer array holding the method ID.tag
- The tag name used to store login data.data
- A byte array containing the login data to be written.
NMASLoginDataException
- contains the NMAS error code.public byte[] getLoginConfig(java.lang.String tName, java.lang.String objectDN, int[] methodID, java.lang.String tag) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object to write login data to.methodID
- An integer array holding the method ID.tag
- The tag name to store the login data under.
NMASLoginDataException
- contains the NMAS error code.public void deleteLoginConfig(java.lang.String tName, java.lang.String objectDN, int[] methodID, java.lang.String tag) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object to write login data to.methodID
- An integer array holding the method ID.tag
- The tag name used to store the login data.
NMASLoginDataException
- contains the NMAS error code.public void putLoginSecret(java.lang.String tName, java.lang.String objectDN, int[] methodID, java.lang.String tag, byte[] data) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object to write login data to.methodID
- An integer array holding the method ID.tag
- The tag name used to store the login data.data
- A byte array containing the login data to be written.
NMASLoginDataException
- contains the NMAS error code.public void deleteLoginSecret(java.lang.String tName, java.lang.String objectDN, int[] methodID, java.lang.String tag) throws NMASLoginDataException
tName
- The eDirectory tree name.objectDN
- The distinguished name of the object to write login data to.methodID
- An integer array holding the method ID.tag
- The tag name used to store the login data.
NMASLoginDataException
- contains the NMAS error code.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |