Class AuthenticatedUserContext
- java.lang.Object
-
- org.forgerock.services.context.AbstractContext
-
- org.opends.server.protocols.http.authz.AuthenticatedUserContext
-
- All Implemented Interfaces:
org.forgerock.services.context.Context
public final class AuthenticatedUserContext extends org.forgerock.services.context.AbstractContext
AContext
containing a cached LDAPEntry
which represents the current authenticated user. ThisContext
implementation does not support serialization. FIXME: This class should be merged withLdapClientContext
once theEntry
API will have been migrated to the SDK (i.e when OPENDJ-3106 will be resolved).
-
-
Constructor Summary
Constructors Constructor Description AuthenticatedUserContext(org.forgerock.services.context.Context parent, Entry authenticatedUser)
Creates a new authenticated user context with the provided parent context and the provided LDAP entry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Entry
getAuthenticatedUser()
Returns the LDAP entry which represents the authenticated user.
-
-
-
Constructor Detail
-
AuthenticatedUserContext
public AuthenticatedUserContext(org.forgerock.services.context.Context parent, Entry authenticatedUser)
Creates a new authenticated user context with the provided parent context and the provided LDAP entry.- Parameters:
parent
- The parentContext
.authenticatedUser
- An LDAPEntry
representing the authenticated user.
-
-