Class InitializeAuthenticationContext

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

public class InitializeAuthenticationContext extends AbstractProfileAction
An action that creates an AuthenticationContext and attaches it to the current ProfileRequestContext.

If the incoming message is a SAML 2.0 AuthnRequest, then basic authentication policy (IsPassive, ForceAuthn, Scoping) is copied into the context from the request.

Event:
EventIds.PROCEED_EVENT_ID, EventIds.ACCESS_DENIED
Postcondition:
ProfileRequestContext.getSubcontext(AuthenticationContext.class) != true, SAML 2.0 AuthnRequest policy flags are (optionally) copied to the AuthenticationContext