Class InitializeAgentRequestContext

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class InitializeAgentRequestContext extends AbstractAuthenticationAction
An authentication action that relies on extracted HTTP authentication credentials to resolve the appropriate Agent and create an AgentRequestContext.
Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX, EventIds.IO_ERROR, AuthnEventIds.UNKNOWN_USERNAME
Precondition:
ProfileRequestContext.getSubcontext(AuthenticationContext.class) != null
Postcondition:
ProfileRequestContext.ensureSubcontext(AgentRequestContext.class).getAgent() != null
,
An MDC logging attribute is created with the successfully resolved ID.