Class OperationContextEntityIDLookup

  • All Implemented Interfaces:
    Function<org.opensaml.messaging.context.MessageContext,​String>, org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,​String>

    public class OperationContextEntityIDLookup
    extends Object
    implements org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.messaging.context.MessageContext,​String>
    Function for resolving the SAML entity ID from the parent InOutOperationContext.
    • Field Detail

      • entityContextClass

        @Nonnull
        private Class<? extends org.opensaml.saml.common.messaging.context.AbstractAuthenticatableSAMLEntityContext> entityContextClass
        The actual context class holding the authenticatable SAML entity.
      • parentLookup

        @Nonnull
        private org.opensaml.messaging.context.navigate.RecursiveTypedParentContextLookup<org.opensaml.messaging.context.MessageContext,​org.opensaml.messaging.context.InOutOperationContext> parentLookup
        Parent operation context lookup function.
    • Constructor Detail

      • OperationContextEntityIDLookup

        public OperationContextEntityIDLookup()
        Constructor.
      • OperationContextEntityIDLookup

        public OperationContextEntityIDLookup​(@Nonnull
                                              Class<? extends org.opensaml.saml.common.messaging.context.AbstractAuthenticatableSAMLEntityContext> clazz)
        Constructor.
        Parameters:
        clazz - the entity context class. Defaults to SAMLPeerEntityContext.
    • Method Detail

      • apply

        public String apply​(@Nullable
                            org.opensaml.messaging.context.MessageContext messageContext)
        Specified by:
        apply in interface Function<org.opensaml.messaging.context.MessageContext,​String>