Class IssuingDelegatedAssertionPredicate
- java.lang.Object
-
- net.shibboleth.idp.saml.saml2.profile.delegation.IssuingDelegatedAssertionPredicate
-
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,Predicate<ProfileRequestContext>
public class IssuingDelegatedAssertionPredicate extends Object implements Predicate<ProfileRequestContext>
A predicate which determines whether issuance of a delegated SAML 2Assertionis active.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,DelegationContext>delegationContextLookupStrategyStrategy used to lookup theDelegationContext.
-
Constructor Summary
Constructors Constructor Description IssuingDelegatedAssertionPredicate()Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidsetDelegationContextLookupStrategy(Function<ProfileRequestContext,DelegationContext> strategy)Set the strategy used to locate the currentDelegationContext.booleantest(ProfileRequestContext input)
-
-
-
Field Detail
-
delegationContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,DelegationContext> delegationContextLookupStrategy
Strategy used to lookup theDelegationContext.
-
-
Method Detail
-
setDelegationContextLookupStrategy
public void setDelegationContextLookupStrategy(@Nonnull Function<ProfileRequestContext,DelegationContext> strategy)Set the strategy used to locate the currentDelegationContext.- Parameters:
strategy- strategy used to locate the currentDelegationContext
-
test
public boolean test(@Nullable ProfileRequestContext input)- Specified by:
testin interfacePredicate<ProfileRequestContext>
-
-