Class AddAttributeStatementToAssertion.AssertionStrategy

java.lang.Object
net.shibboleth.idp.saml.saml2.profile.impl.AddAttributeStatementToAssertion.AssertionStrategy
All Implemented Interfaces:
Function<ProfileRequestContext,Assertion>
Enclosing class:
AddAttributeStatementToAssertion

private class AddAttributeStatementToAssertion.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.