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 appropriate
BestMatchLocationCriterion
based on the AssertionConsumerService location used to initiate a SAML2SPSession.
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
FieldsModifier and TypeFieldDescriptionLookup strategy for context. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext input) voidSet the lookup strategy for theLogoutPropagationContextto access.
-
Field Details
-
logoutPropagationContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,LogoutPropagationContext> logoutPropagationContextLookupStrategyLookup strategy for context.
-
-
Constructor Details
-
BestMatchLocationLookupStrategy
public BestMatchLocationLookupStrategy()Constructor.
-
-
Method Details
-
setLogoutContextLookupStrategy
public void setLogoutContextLookupStrategy(@Nonnull Function<ProfileRequestContext, LogoutPropagationContext> strategy) Set the lookup strategy for theLogoutPropagationContextto access.- Parameters:
strategy- lookup strategy
-
apply
- Specified by:
applyin interfaceFunction<ProfileRequestContext,BestMatchLocationCriterion>
-