Class AddNameIDToSubjects.NameIDPolicyLookupFunction
java.lang.Object
org.opensaml.saml.saml2.profile.impl.AddNameIDToSubjects.NameIDPolicyLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,
SAMLObject>
- Enclosing class:
- AddNameIDToSubjects
public static class AddNameIDToSubjects.NameIDPolicyLookupFunction
extends Object
implements Function<ProfileRequestContext,SAMLObject>
Lookup function that returns the
NameIDPolicy
from an AuthnRequest
message returned
from a lookup function, by default the inbound message.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,
AuthnRequest> Strategy used to locate theAuthnRequest
to operate on. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(ProfileRequestContext profileRequestContext) void
Set the strategy used to locate theAuthnRequest
to examine.
-
Field Details
-
requestLookupStrategy
Strategy used to locate theAuthnRequest
to operate on.
-
-
Constructor Details
-
NameIDPolicyLookupFunction
public NameIDPolicyLookupFunction()Constructor.
-
-
Method Details
-
setRequestLookupStrategy
public void setRequestLookupStrategy(@Nonnull Function<ProfileRequestContext, AuthnRequest> strategy) Set the strategy used to locate theAuthnRequest
to examine.- Parameters:
strategy
- strategy used to locate theAuthnRequest
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,
SAMLObject>
-