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>
consentContextlookupStrategy
Strategy used to find theConsentContext
from theProfileRequestContext
.private org.slf4j.Logger
log
Class logger. -
Constructor Summary
Constructors Constructor Description GlobalAttributeConsentPredicate()
Constructor. -
Method Summary
Modifier and Type Method Description boolean
test(ProfileRequestContext input)
-
Field Details
-
log
@Nonnull private final org.slf4j.Logger logClass logger. -
consentContextlookupStrategy
Strategy used to find theConsentContext
from theProfileRequestContext
.
-
-
Constructor Details
-
GlobalAttributeConsentPredicate
public GlobalAttributeConsentPredicate()Constructor.
-
-
Method Details
-
test
- Specified by:
test
in interfacePredicate<ProfileRequestContext>
-