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 parent
InOutOperationContext
.-
Field Summary
Fields Modifier and Type Field Description private Class<? extends AbstractAuthenticatableSAMLEntityContext>
entityContextClass
The actual context class holding the authenticatable SAML entity.private RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext>
parentLookup
Parent operation context lookup function. -
Constructor Summary
Constructors Constructor Description OperationContextEntityIDLookup()
Constructor.OperationContextEntityIDLookup(Class<? extends AbstractAuthenticatableSAMLEntityContext> clazz)
Constructor. -
Method Summary
Modifier and Type Method Description String
apply(MessageContext messageContext)
-
Field Details
-
entityContextClass
The actual context class holding the authenticatable SAML entity. -
parentLookup
@Nonnull private RecursiveTypedParentContextLookup<MessageContext,InOutOperationContext> parentLookupParent operation context lookup function.
-
-
Constructor Details
-
OperationContextEntityIDLookup
public OperationContextEntityIDLookup()Constructor. -
OperationContextEntityIDLookup
public OperationContextEntityIDLookup(@Nonnull Class<? extends AbstractAuthenticatableSAMLEntityContext> clazz)Constructor.- Parameters:
clazz
- the entity context class. Defaults toSAMLPeerEntityContext
.
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<MessageContext,String>
-