Class AddNameIdentifierToSubjects.AssertionStrategy

  • All Implemented Interfaces:
    Function<org.opensaml.profile.context.ProfileRequestContext,​List<org.opensaml.saml.saml1.core.Assertion>>
    Enclosing class:
    AddNameIdentifierToSubjects

    private class AddNameIdentifierToSubjects.AssertionStrategy
    extends Object
    implements Function<org.opensaml.profile.context.ProfileRequestContext,​List<org.opensaml.saml.saml1.core.Assertion>>
    Default strategy for obtaining assertions to modify.

    If the outbound context is empty, a null is returned. If the outbound message is already an assertion, it's returned. If the outbound message is a response, then its contents are returned. If the outbound message is anything else, null is returned.

    • Constructor Detail

      • AssertionStrategy

        private AssertionStrategy()
    • Method Detail

      • apply

        @Nullable
        public List<org.opensaml.saml.saml1.core.Assertion> apply​(@Nullable
                                                                  org.opensaml.profile.context.ProfileRequestContext input)
        Specified by:
        apply in interface Function<org.opensaml.profile.context.ProfileRequestContext,​List<org.opensaml.saml.saml1.core.Assertion>>