Class ProxyRestrictionLookupFunction
- java.lang.Object
-
- net.shibboleth.idp.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
Fields Modifier and Type Field Description private Function<ProfileRequestContext,SubjectContext>subjectContextLookupStrategySubjectContext lookup strategy.
-
Constructor Summary
Constructors Constructor Description ProxyRestrictionLookupFunction()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<Integer,Set<String>>apply(ProfileRequestContext input)voidsetSubjectContextLookupStrategy(Function<ProfileRequestContext,SubjectContext> strategy)Set the lookup strategy to locate theSubjectContext.-
Methods inherited from class net.shibboleth.idp.profile.context.navigate.AbstractRelyingPartyLookupFunction
getRelyingPartyContextLookupStrategy, setRelyingPartyContextLookupStrategy
-
-
-
-
Field Detail
-
subjectContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,SubjectContext> subjectContextLookupStrategy
SubjectContext lookup strategy.
-
-
Method Detail
-
setSubjectContextLookupStrategy
public void setSubjectContextLookupStrategy(@Nonnull Function<ProfileRequestContext,SubjectContext> strategy)Set the lookup strategy to locate theSubjectContext.- Parameters:
strategy- lookup strategy
-
apply
@Nullable public Pair<Integer,Set<String>> apply(@Nullable ProfileRequestContext input)
-
-