Class CurrentConsentIsApprovedAuditExtractor

  • All Implemented Interfaces:
    Function<org.opensaml.profile.context.ProfileRequestContext,​Collection<Boolean>>

    public class CurrentConsentIsApprovedAuditExtractor
    extends Object
    implements Function<org.opensaml.profile.context.ProfileRequestContext,​Collection<Boolean>>
    Function that returns whether the current consents are approved from an ConsentContext.
    • Field Detail

      • 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

      • CurrentConsentIsApprovedAuditExtractor

        public CurrentConsentIsApprovedAuditExtractor()
        Constructor.
      • CurrentConsentIsApprovedAuditExtractor

        public CurrentConsentIsApprovedAuditExtractor​(@Nonnull
                                                      Function<org.opensaml.profile.context.ProfileRequestContext,​net.shibboleth.idp.consent.context.ConsentContext> strategy)
        Constructor.
        Parameters:
        strategy - the consent context lookup strategy
    • Method Detail

      • apply

        @Nullable
        public Collection<Boolean> apply​(@Nullable
                                         org.opensaml.profile.context.ProfileRequestContext input)
        Specified by:
        apply in interface Function<org.opensaml.profile.context.ProfileRequestContext,​Collection<Boolean>>