Class ProcessAssertionsForAuthentication

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

public class ProcessAssertionsForAuthentication extends AbstractApplicationAction
Perform processing of a SAML 2 Response's Assertions that have been validated by earlier actions for use in finalization of SAML-based authentication by later actions.

The result of this action is to strip any invalid assertions from the response, and to preserve the "best"/selected AuthnStatement and any other content required in a pluggable manner.

This is a copy of an IdP action for the time being as there was no way to override the desired behavior.

Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_MESSAGE
Postcondition:
the selected statement is passed into the supplied BiConsumer