Class MetadataNameIdentifierFormatStrategy
java.lang.Object
org.opensaml.saml.common.profile.logic.MetadataNameIdentifierFormatStrategy
- All Implemented Interfaces:
Function<ProfileRequestContext,
List<String>>
public class MetadataNameIdentifierFormatStrategy
extends Object
implements Function<ProfileRequestContext,List<String>>
Function to return a set of candidate NameIdentifier/NameID Format values derived from an entity's
SAML metadata.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate class
Default lookup strategy for metadata, relies on the inbound message context. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.slf4j.Logger
Class logger.private Function<ProfileRequestContext,
SSODescriptor> Strategy function to lookup theSSODescriptor
to read from. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply
(ProfileRequestContext input) void
Set the lookup strategy to use to obtain anSSODescriptor
.
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
ssoDescriptorLookupStrategy
Strategy function to lookup theSSODescriptor
to read from.
-
-
Constructor Details
-
MetadataNameIdentifierFormatStrategy
public MetadataNameIdentifierFormatStrategy()Constructor.
-
-
Method Details
-
setSSODescriptorLookupStrategy
public void setSSODescriptorLookupStrategy(@Nonnull Function<ProfileRequestContext, SSODescriptor> strategy) Set the lookup strategy to use to obtain anSSODescriptor
.- Parameters:
strategy
- lookup strategy
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,
List<String>>
-