Class CurrentConsentValuesAuditExtractor

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

    public class CurrentConsentValuesAuditExtractor
    extends Object
    implements Function<org.opensaml.profile.context.ProfileRequestContext,​Collection<String>>
    Function that returns the current consent values 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

      • CurrentConsentValuesAuditExtractor

        public CurrentConsentValuesAuditExtractor()
        Constructor.
      • CurrentConsentValuesAuditExtractor

        public CurrentConsentValuesAuditExtractor​(@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<String> apply​(@Nullable
                                        org.opensaml.profile.context.ProfileRequestContext input)
        Specified by:
        apply in interface Function<org.opensaml.profile.context.ProfileRequestContext,​Collection<String>>