Class SAMLMessageContextAuthenticationFunction
- java.lang.Object
-
- org.opensaml.saml.common.messaging.context.navigate.SAMLMessageContextAuthenticationFunction
-
public class SAMLMessageContextAuthenticationFunction extends Object implements Function<org.opensaml.messaging.context.MessageContext,Boolean>
Function that returns the authenticated state of a configuredAbstractAuthenticatableSAMLEntityContext
, defaulting toSAMLPeerEntityContext
.
-
-
Field Summary
Fields Modifier and Type Field Description private Class<? extends AbstractAuthenticatableSAMLEntityContext>
entityContextClass
The context class representing the authenticatable SAML entity.
-
Constructor Summary
Constructors Constructor Description SAMLMessageContextAuthenticationFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Boolean
apply(org.opensaml.messaging.context.MessageContext input)
void
setEntityContextClass(Class<? extends AbstractAuthenticatableSAMLEntityContext> clazz)
Set the class type holding the authenticatable SAML entity data.
-
-
-
Field Detail
-
entityContextClass
@Nonnull private Class<? extends AbstractAuthenticatableSAMLEntityContext> entityContextClass
The context class representing the authenticatable SAML entity. Defaults to:SAMLPeerEntityContext
.
-
-
Method Detail
-
setEntityContextClass
public void setEntityContextClass(@Nonnull Class<? extends AbstractAuthenticatableSAMLEntityContext> clazz)
Set the class type holding the authenticatable SAML entity data.Defaults to:
SAMLPeerEntityContext
.- Parameters:
clazz
- the entity context class type
-
-