Class OperationContextEntityIDLookup
- java.lang.Object
-
- org.opensaml.saml.common.binding.security.impl.OperationContextEntityIDLookup
-
- All Implemented Interfaces:
Function<MessageContext,String>,ContextDataLookupFunction<MessageContext,String>
public class OperationContextEntityIDLookup extends Object implements ContextDataLookupFunction<MessageContext,String>
Function for resolving the SAML entity ID from the parentInOutOperationContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Class<? extends AbstractAuthenticatableSAMLEntityContext>entityContextClassThe actual context class holding the authenticatable SAML entity.private RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>parentLookupParent operation context lookup function.
-
Constructor Summary
Constructors Constructor Description OperationContextEntityIDLookup()Constructor.OperationContextEntityIDLookup(Class<? extends AbstractAuthenticatableSAMLEntityContext> clazz)Constructor.
-
-
-
Field Detail
-
entityContextClass
@Nonnull private Class<? extends AbstractAuthenticatableSAMLEntityContext> entityContextClass
The actual context class holding the authenticatable SAML entity.
-
parentLookup
@Nonnull private RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext> parentLookup
Parent operation context lookup function.
-
-
Constructor Detail
-
OperationContextEntityIDLookup
public OperationContextEntityIDLookup()
Constructor.
-
OperationContextEntityIDLookup
public OperationContextEntityIDLookup(@Nonnull Class<? extends AbstractAuthenticatableSAMLEntityContext> clazz)Constructor.- Parameters:
clazz- the entity context class. Defaults toSAMLPeerEntityContext.
-
-
Method Detail
-
apply
public String apply(@Nullable MessageContext messageContext)
- Specified by:
applyin interfaceFunction<MessageContext,String>
-
-