Class DelegatedAssertionLookupStrategy
- java.lang.Object
-
- net.shibboleth.idp.saml.saml2.profile.delegation.impl.DelegatedAssertionLookupStrategy
-
- All Implemented Interfaces:
Function<ProfileRequestContext,Assertion>
public class DelegatedAssertionLookupStrategy extends Object implements Function<ProfileRequestContext,Assertion>
Lookup function to return the valid delegated assertion token in effect for the Liberty SSOS request.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,LibertySSOSContext>libertyContextLookupStrategyFunction used to resolve the Liberty context to populate.private org.slf4j.LoggerlogLogger.
-
Constructor Summary
Constructors Constructor Description DelegatedAssertionLookupStrategy()Constructor.DelegatedAssertionLookupStrategy(Function<ProfileRequestContext,LibertySSOSContext> strategy)Constructor.
-
-
-
Field Detail
-
log
@Nonnull private org.slf4j.Logger log
Logger.
-
libertyContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,LibertySSOSContext> libertyContextLookupStrategy
Function used to resolve the Liberty context to populate.
-
-
Constructor Detail
-
DelegatedAssertionLookupStrategy
public DelegatedAssertionLookupStrategy()
Constructor.
-
DelegatedAssertionLookupStrategy
public DelegatedAssertionLookupStrategy(@Nonnull Function<ProfileRequestContext,LibertySSOSContext> strategy)Constructor.- Parameters:
strategy- the lookup strategy forLibertySSOSContext.
-
-
Method Detail
-
apply
@Nullable public Assertion apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,Assertion>
-
-