# Package net.shibboleth.idp.consent.logic.impl

@NonnullElements package net.shibboleth.idp.consent.logic.impl
Predicates and functions related to attribute consent.

Classes
Class
Description
AbstractAttributeDisplayFunction
Abstract Function which returns `Locale`-aware information about an attribute.
AttributeDisplayDescriptionFunction
Function which returns the locale-aware display description of an attribute, defaulting to the attribute ID if the attribute has no display description.
AttributeDisplayNameFunction
Function which returns the locale-aware display name of an attribute, defaulting to the attribute ID if the attribute has no display name.
AttributePredicate
Predicate to determine whether consent should be obtained for an attribute.
AttributeReleaseConsentFunction
Function that returns a map of consent objects representing consent to attribute release.
AttributeValueLookupFunction
`ContextDataLookupFunction` to return the value of an attribute from an `AttributeContext`.
AttributeValuesHashFunction
Function to calculate the hash of the values of an IdP attribute.
CounterStorageKeyComparator
A `Comparator` used to order storage keys so that the least used and oldest storage keys are returned first.
CounterStorageKeyFunction
Function to order storage keys by least-used and oldest first during pruning of storage records.
FlowDescriptorLookupFunction<T extends ProfileInterceptorFlowDescriptor>
Function that returns a profile interceptor flow descriptor from a profile request context using a lookup strategy.
FlowIdLookupFunction
`ContextDataLookupFunction` that returns the current flow id.
GlobalAttributeConsentPredicate
Predicate to determine whether global consent has been given by user.
IsAttributeRequiredPredicate
Predicate that determines whether an IdP attribute is required by the requester.
IsConsentRequiredPredicate
Predicate that returns whether consent is required by comparing the previous and current consents from the consent context.
JoinFunction
Function to join the result of two functions with a separator.
LocaleLookupFunction
Function which resolves the `Locale` from a `ProfileRequestContext`.
MessageSourceConsentFunction
Function that returns a consent object whose id and value are resolved from a lookup function and `MessageSource`.
PreferExplicitOrderComparator
Comparator which prefers to order strings according to the order in which they appear in a list, and which falls back to natural ordering for strings not present in the list.