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 forFunctionthat returns content from theProxyRestrictionelement.- Since:
- 4.2.0
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,SAMLObject>responseLookupStrategyLookup strategy for message to read from.
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractProxyRestrictionAuditExtractor(Function<ProfileRequestContext,SAMLObject> strategy)Constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Tapply(ProfileRequestContext input)protected abstract TdoApply(ProxyRestriction condition)Override point to do the extraction.
-
-
-
Field Detail
-
responseLookupStrategy
@Nonnull private final Function<ProfileRequestContext,SAMLObject> responseLookupStrategy
Lookup strategy for message to read from.
-
-
Constructor Detail
-
AbstractProxyRestrictionAuditExtractor
protected AbstractProxyRestrictionAuditExtractor(@Nonnull Function<ProfileRequestContext,SAMLObject> strategy)Constructor.- Parameters:
strategy- lookup strategy for message
-
-
Method Detail
-
apply
@Nullable public T apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,T>
-
doApply
@Nullable protected abstract T doApply(@Nullable ProxyRestriction condition)
Override point to do the extraction.- Parameters:
condition- the input object- Returns:
- the extracted value
-
-