Class GlobalAttributeConsentPredicate
- java.lang.Object
-
- net.shibboleth.idp.consent.logic.impl.GlobalAttributeConsentPredicate
-
- All Implemented Interfaces:
Predicate<ProfileRequestContext>,Predicate<ProfileRequestContext>
public class GlobalAttributeConsentPredicate extends Object implements Predicate<ProfileRequestContext>
Predicate to determine whether global consent has been given by user.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,ConsentContext>consentContextlookupStrategyStrategy used to find theConsentContextfrom theProfileRequestContext.private org.slf4j.LoggerlogClass logger.
-
Constructor Summary
Constructors Constructor Description GlobalAttributeConsentPredicate()Constructor.
-
-
-
Field Detail
-
log
@Nonnull private final org.slf4j.Logger log
Class logger.
-
consentContextlookupStrategy
@Nonnull private Function<ProfileRequestContext,ConsentContext> consentContextlookupStrategy
Strategy used to find theConsentContextfrom theProfileRequestContext.
-
-
Method Detail
-
test
public boolean test(@Nullable ProfileRequestContext input)- Specified by:
testin interfacePredicate<ProfileRequestContext>
-
-