Class AddNameIDToSubjects.NameIDPolicyLookupFunction
- java.lang.Object
-
- org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects.NameIDPolicyLookupFunction
-
- All Implemented Interfaces:
Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.SAMLObject>
- Enclosing class:
- AddNameIDToSubjects
public static class AddNameIDToSubjects.NameIDPolicyLookupFunction extends Object implements Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.common.SAMLObject>
Lookup function that returns theNameIDPolicyfrom anAuthnRequestmessage returned from a lookup function, by default the inbound message.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.saml2.core.AuthnRequest>requestLookupStrategyStrategy used to locate theAuthnRequestto operate on.
-
Constructor Summary
Constructors Constructor Description NameIDPolicyLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.opensaml.saml.common.SAMLObjectapply(org.opensaml.profile.context.ProfileRequestContext profileRequestContext)voidsetRequestLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.saml2.core.AuthnRequest> strategy)Set the strategy used to locate theAuthnRequestto examine.
-
-
-
Field Detail
-
requestLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.saml2.core.AuthnRequest> requestLookupStrategy
Strategy used to locate theAuthnRequestto operate on.
-
-
Method Detail
-
setRequestLookupStrategy
public void setRequestLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,org.opensaml.saml.saml2.core.AuthnRequest> strategy)Set the strategy used to locate theAuthnRequestto examine.- Parameters:
strategy- strategy used to locate theAuthnRequest
-
-