|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.core.AuthenticatedUsers
public class AuthenticatedUsers
This class provides a data structure which maps an authenticated user DN to
the set of client connections authenticated as that user. Note that a single
client connection may be registered with two different user DNs if the client
has different authentication and authorization identities.
This class also provides a mechanism for detecting changes to authenticated
user entries and notifying the corresponding client connections so that they
can update their cached versions.
| Constructor Summary | |
|---|---|
AuthenticatedUsers()
Creates a new instance of this authenticated users object. |
|
| Method Summary | |
|---|---|
void |
handleAddOperation(PostResponseAddOperation addOperation,
Entry entry)
Performs any processing that may be required after an add operation. |
void |
handleDeleteOperation(PostResponseDeleteOperation deleteOperation,
Entry entry)
Performs any processing that may be required after a delete operation. |
void |
handleModifyDNOperation(PostResponseModifyDNOperation modifyDNOperation,
Entry oldEntry,
Entry newEntry)
Performs any processing that may be required after a modify DN operation. |
void |
handleModifyOperation(PostResponseModifyOperation modifyOperation,
Entry oldEntry,
Entry newEntry)
Performs any processing that may be required after a modify operation. |
void |
put(DN userDN,
ClientConnection clientConnection)
Registers the provided user DN and client connection with this object. |
void |
remove(DN userDN,
ClientConnection clientConnection)
Deregisters the provided user DN and client connection with this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticatedUsers()
| Method Detail |
|---|
public void put(DN userDN,
ClientConnection clientConnection)
userDN - The DN of the user associated with the provided
client connection.clientConnection - The client connection over which the user is
authenticated.
public void remove(DN userDN,
ClientConnection clientConnection)
userDN - The DN of the user associated with the provided
client connection.clientConnection - The client connection over which the user is
authenticated.
public void handleAddOperation(PostResponseAddOperation addOperation,
Entry entry)
handleAddOperation in interface ChangeNotificationListeneraddOperation - The add operation that was performed in the
server.entry - The entry that was added to the server.
public void handleDeleteOperation(PostResponseDeleteOperation deleteOperation,
Entry entry)
handleDeleteOperation in interface ChangeNotificationListenerdeleteOperation - The delete operation that was performed
in the server.entry - The entry that was removed from the
server.
public void handleModifyOperation(PostResponseModifyOperation modifyOperation,
Entry oldEntry,
Entry newEntry)
handleModifyOperation in interface ChangeNotificationListenermodifyOperation - The modify operation that was performed
in the server.oldEntry - The entry before it was updated.newEntry - The entry after it was updated.
public void handleModifyDNOperation(PostResponseModifyDNOperation modifyDNOperation,
Entry oldEntry,
Entry newEntry)
handleModifyDNOperation in interface ChangeNotificationListenermodifyDNOperation - The modify DN operation that was
performed in the server.oldEntry - The entry before it was updated.newEntry - The entry after it was updated.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||