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.AbstractContextAContextcontaining a cached LDAPEntrywhich represents the current authenticated user. ThisContextimplementation does not support serialization. FIXME: This class should be merged withLdapClientContextonce theEntryAPI 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 EntrygetAuthenticatedUser()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 LDAPEntryrepresenting the authenticated user.
-
-