Package org.opends.server.api
Class ClientConnection.AuthenticatedUsers
java.lang.Object
org.opends.server.api.ClientConnection.AuthenticatedUsers
- Enclosing class:
ClientConnection
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
ConstructorsConstructorDescriptionAuthenticatedUsers
(ServerContext serverContext) Creates a new instance of this authenticated users object. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the set of client connections authenticated as the specified user.
-
Constructor Details
-
AuthenticatedUsers
Creates a new instance of this authenticated users object.- Parameters:
serverContext
- the server context
-
-
Method Details
-
get
Retrieves the set of client connections authenticated as the specified user. This method is only intended for internal testing use and should not be called for any other purpose.- Parameters:
userDn
- The DN of the user for which to retrieve the corresponding set of client connections.- Returns:
- The set of client connections authenticated as the specified user, or
null
if there are none.
-