Class AddAuthnStatementToAssertion.AssertionStrategy

All Implemented Interfaces:
Enclosing class:

private class AddAuthnStatementToAssertion.AssertionStrategy
extends Object
implements Function<ProfileRequestContext,​Assertion>
Default strategy for obtaining assertion to modify.

If the outbound context is empty, a new assertion is created and stored there. If the outbound message is already an assertion, it's returned. If the outbound message is a response, then either an existing or new assertion in the response is returned, depending on the action setting. If the outbound message is anything else, null is returned.