Class OperationContextEntityIDLookup
- java.lang.Object
-
- org.opensaml.saml.common.binding.security.impl.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 parentInOutOperationContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Class<? extends org.opensaml.saml.common.messaging.context.AbstractAuthenticatableSAMLEntityContext>entityContextClassThe actual context class holding the authenticatable SAML entity.private org.opensaml.messaging.context.navigate.RecursiveTypedParentContextLookup<org.opensaml.messaging.context.MessageContext,org.opensaml.messaging.context.InOutOperationContext>parentLookupParent operation context lookup function.
-
Constructor Summary
Constructors Constructor Description OperationContextEntityIDLookup()Constructor.OperationContextEntityIDLookup(Class<? extends org.opensaml.saml.common.messaging.context.AbstractAuthenticatableSAMLEntityContext> clazz)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringapply(org.opensaml.messaging.context.MessageContext messageContext)
-
-
-
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 toSAMLPeerEntityContext.
-
-