Class PopulateLibertyContext

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

public class PopulateLibertyContext extends AbstractProfileAction
Locate a pre-validated Assertion WS-Security token, and populate the LibertySSOSContext.

The default token strategy is to resolve the first instance of SAML20AssertionToken present in the inbound WSSecurityContext which has a validation status of Token.ValidationStatus.VALID

Event:
AuthnEventIds.NO_CREDENTIALS
Precondition:
assertionTokenStrategy.apply() != null
Postcondition:
profileRequestContext.getSubcontext(LibertySSOSContext.class) != null
,
LibertySSOSContext.getAttestedToken() != null
,
LibertySSOSContext.getAttestedSubjectConfirmationMethod != null