public final class AuthenticatedUserContext
extends org.forgerock.services.context.AbstractContext
Context
containing a cached LDAP Entry
which represents the current authenticated user.
This Context
implementation does not support serialization.
FIXME: This class should be merged with AuthenticatedConnectionContext
once the Entry
API will have been migrated to the SDK (i.e when OPENDJ-3106 will be resolved).Constructor and 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.
|
Modifier and Type | Method and Description |
---|---|
Entry |
getAuthenticatedUser()
Returns the LDAP entry which represents the authenticated user.
|
public AuthenticatedUserContext(org.forgerock.services.context.Context parent, Entry authenticatedUser)
parent
- The parent Context
.authenticatedUser
- An LDAP Entry
representing the authenticated user.Copyright 2010-2022 ForgeRock AS.