Class ProxyRestrictionLookupFunction
java.lang.Object
net.shibboleth.profile.context.navigate.AbstractRelyingPartyLookupFunction<Pair<Integer,Set<String>>>
net.shibboleth.idp.saml.saml2.profile.config.navigate.ProxyRestrictionLookupFunction
- All Implemented Interfaces:
Function<ProfileRequestContext,,Pair<Integer, Set<String>>> ContextDataLookupFunction<ProfileRequestContext,Pair<Integer, Set<String>>>
public class ProxyRestrictionLookupFunction
extends AbstractRelyingPartyLookupFunction<Pair<Integer,Set<String>>>
A function that returns the allowable proxy count and audiences to include in assertions,
based on the results of lookup functions for local configuration merged with upstream
proxy restrictions to compute a final result in accordance with the standard.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Function<ProfileRequestContext,SubjectContext> SubjectContext lookup strategy. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapply(ProfileRequestContext input) voidSet the lookup strategy to locate theSubjectContext.Methods inherited from class net.shibboleth.profile.context.navigate.AbstractRelyingPartyLookupFunction
getRelyingPartyContext, getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
Field Details
-
subjectContextLookupStrategy
SubjectContext lookup strategy.
-
-
Constructor Details
-
ProxyRestrictionLookupFunction
public ProxyRestrictionLookupFunction()Constructor.
-
-
Method Details
-
setSubjectContextLookupStrategy
public void setSubjectContextLookupStrategy(@Nonnull Function<ProfileRequestContext, SubjectContext> strategy) Set the lookup strategy to locate theSubjectContext.- Parameters:
strategy- lookup strategy
-
apply
-