Class GlobalAttributeConsentPredicate

  • All Implemented Interfaces:
    Predicate<org.opensaml.profile.context.ProfileRequestContext>, net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.profile.context.ProfileRequestContext>

    public class GlobalAttributeConsentPredicate
    extends Object
    implements net.shibboleth.utilities.java.support.logic.Predicate<org.opensaml.profile.context.ProfileRequestContext>
    Predicate to determine whether global consent has been given by user.
    • Field Detail

      • log

        @Nonnull
        private final Logger log
        Class logger.
      • consentContextlookupStrategy

        @Nonnull
        private Function<org.opensaml.profile.context.ProfileRequestContext,​net.shibboleth.idp.consent.context.ConsentContext> consentContextlookupStrategy
        Strategy used to find the ConsentContext from the ProfileRequestContext.
    • Constructor Detail

      • GlobalAttributeConsentPredicate

        public GlobalAttributeConsentPredicate()
        Constructor.
    • Method Detail

      • test

        public boolean test​(@Nullable
                            org.opensaml.profile.context.ProfileRequestContext input)
        Specified by:
        test in interface Predicate<org.opensaml.profile.context.ProfileRequestContext>