Class BestMatchLocationLookupStrategy
- java.lang.Object
-
- net.shibboleth.idp.saml.session.impl.BestMatchLocationLookupStrategy
-
- All Implemented Interfaces:
Function<ProfileRequestContext,BestMatchLocationCriterion>
public class BestMatchLocationLookupStrategy extends Object implements Function<ProfileRequestContext,BestMatchLocationCriterion>
A strategy function for establishing an appropriateBestMatchLocationCriterionbased on theAssertionConsumerServicelocation used to initiate aSAML2SPSession.Used during SAML 2.0 logout propagation to "fuzz" the determination of the best logout endpoint to use based on the original endpoint used.
Returns null if not applicable or the ACS is unknown.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,LogoutPropagationContext>logoutPropagationContextLookupStrategyLookup strategy for context.
-
Constructor Summary
Constructors Constructor Description BestMatchLocationLookupStrategy()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BestMatchLocationCriterionapply(ProfileRequestContext input)voidsetLogoutContextLookupStrategy(Function<ProfileRequestContext,LogoutPropagationContext> strategy)Set the lookup strategy for theLogoutPropagationContextto access.
-
-
-
Field Detail
-
logoutPropagationContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,LogoutPropagationContext> logoutPropagationContextLookupStrategy
Lookup strategy for context.
-
-
Method Detail
-
setLogoutContextLookupStrategy
public void setLogoutContextLookupStrategy(@Nonnull Function<ProfileRequestContext,LogoutPropagationContext> strategy)Set the lookup strategy for theLogoutPropagationContextto access.- Parameters:
strategy- lookup strategy
-
apply
@Nullable public BestMatchLocationCriterion apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,BestMatchLocationCriterion>
-
-