|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object netcom.util.LDAPCommunicator
Title: LDAPCommunicator
Description: LDAPCommunicator class is responsible for the communication with an LDAP server. It handles two main data types. Authentication entries represent the login/logout information for PClients and PServers. The are validated against the LDAP server database Node entries contain the information about available MDS and MDSProxies
Company: NETCOM
Constructor Summary | |
LDAPCommunicator()
Constructor to create a LDAPCommunicator object |
Method Summary | |
boolean |
addAuthenticationEntry(AuthenticationEntry entry)
Adds new username/password pair if not already exists |
boolean |
addNodeEntry(NodeEntry entry)
Adds new PClient/PServer node to LDAP if not already exists |
AuthenticationEntry[] |
getAuthenticationList()
Returns array of all AuthenticationEntry that are registered on LDAP |
NodeEntry |
getNodeEntry(java.lang.String thisID)
Returns NodeEntry for corresponding node_name that is registered on LDAP |
NodeEntry[] |
getNodeList(int type)
|
int |
isAuthenticated(AuthenticationEntry entry)
Checks to see if AuthenticationEntry is authenticated. |
boolean |
removeAuthenticationEntry(AuthenticationEntry entry)
Removes username/password pair if it already exists |
void |
removeNodeEntry(NodeEntry entry)
Removes PClient/PServer node from LDAP if it already exists |
boolean |
updateNodeEntry(NodeEntry entry)
Modifies PClient/PServer node on LDAP if it already exists |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public LDAPCommunicator()
Method Detail |
public boolean addAuthenticationEntry(AuthenticationEntry entry)
entry
- AuthenticationEntry to register on LDAP Serverpublic boolean removeAuthenticationEntry(AuthenticationEntry entry)
entry
- AuthenticationEntry to remove from LDAP Serverpublic AuthenticationEntry[] getAuthenticationList()
public int isAuthenticated(AuthenticationEntry entry)
entry
- AuthenticationEntry to check
public boolean addNodeEntry(NodeEntry entry)
entry
- NodeEntry to register on LDAP Serverpublic void removeNodeEntry(NodeEntry entry)
entry
- NodeEntry to deregister on LDAP Serverpublic boolean updateNodeEntry(NodeEntry entry)
entry
- NodeEntry to modify on LDAP Serverpublic NodeEntry[] getNodeList(int type)
public NodeEntry getNodeEntry(java.lang.String thisID)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |