Class DecorateDelegatedAssertion.AssertionStrategy

  • All Implemented Interfaces:
    Function<ProfileRequestContext,​List<Assertion>>
    Enclosing class:
    DecorateDelegatedAssertion

    private class DecorateDelegatedAssertion.AssertionStrategy
    extends Object
    implements Function<ProfileRequestContext,​List<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.