Class AbstractProxyRestrictionAuditExtractor<T>
java.lang.Object
net.shibboleth.idp.saml.audit.impl.AbstractProxyRestrictionAuditExtractor<T>
- Type Parameters:
T
- type of field being extracted
- All Implemented Interfaces:
Function<ProfileRequestContext,
T>
- Direct Known Subclasses:
ProxyAudienceAuditExtractor
,ProxyCountAuditExtractor
public abstract class AbstractProxyRestrictionAuditExtractor<T>
extends Object
implements Function<ProfileRequestContext,T>
Base class for
Function
that returns content from the ProxyRestriction
element.- Since:
- 4.2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Function<ProfileRequestContext,
SAMLObject> Lookup strategy for message to read from. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Constructor. -
Method Summary
Modifier and TypeMethodDescriptionapply
(ProfileRequestContext input) protected abstract T
doApply
(ProxyRestriction condition) Override point to do the extraction.
-
Field Details
-
responseLookupStrategy
Lookup strategy for message to read from.
-
-
Constructor Details
-
AbstractProxyRestrictionAuditExtractor
protected AbstractProxyRestrictionAuditExtractor(@Nonnull Function<ProfileRequestContext, SAMLObject> strategy) Constructor.- Parameters:
strategy
- lookup strategy for message
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,
T>
-
doApply
Override point to do the extraction.- Parameters:
condition
- the input object- Returns:
- the extracted value
-