Class CurrentConsentIsApprovedAuditExtractor
- java.lang.Object
-
- net.shibboleth.idp.consent.audit.impl.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>>
Functionthat returns whether the current consents are approved from anConsentContext.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.idp.consent.context.ConsentContext>consentContextLookupStrategyStrategy used to find theConsentContextfrom theProfileRequestContext.
-
Constructor Summary
Constructors Constructor Description CurrentConsentIsApprovedAuditExtractor()Constructor.CurrentConsentIsApprovedAuditExtractor(Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.idp.consent.context.ConsentContext> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Collection<Boolean>apply(org.opensaml.profile.context.ProfileRequestContext input)
-
-
-
Field Detail
-
consentContextLookupStrategy
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.idp.consent.context.ConsentContext> consentContextLookupStrategy
Strategy used to find theConsentContextfrom theProfileRequestContext.
-
-
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:
applyin interfaceFunction<org.opensaml.profile.context.ProfileRequestContext,Collection<Boolean>>
-
-