Class CurrentConsentIdsAuditExtractor

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

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

      • CurrentConsentIdsAuditExtractor

        public CurrentConsentIdsAuditExtractor()
        Constructor.
      • CurrentConsentIdsAuditExtractor

        public CurrentConsentIdsAuditExtractor​(@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>>