Class AuthnInstantAuditExtractor
- java.lang.Object
-
- net.shibboleth.idp.saml.audit.impl.AuthnInstantAuditExtractor
-
- All Implemented Interfaces:
Function<ProfileRequestContext,Instant>
public class AuthnInstantAuditExtractor extends Object implements Function<ProfileRequestContext,Instant>
Functionthat returns the first authentication timestamp from an assertions in a response.
-
-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,SAMLObject>responseLookupStrategyLookup strategy for message to read from.
-
Constructor Summary
Constructors Constructor Description AuthnInstantAuditExtractor(Function<ProfileRequestContext,SAMLObject> strategy)Constructor.
-
-
-
Field Detail
-
responseLookupStrategy
@Nonnull private final Function<ProfileRequestContext,SAMLObject> responseLookupStrategy
Lookup strategy for message to read from.
-
-
Constructor Detail
-
AuthnInstantAuditExtractor
public AuthnInstantAuditExtractor(@Nonnull Function<ProfileRequestContext,SAMLObject> strategy)Constructor.- Parameters:
strategy- lookup strategy for message
-
-
Method Detail
-
apply
@Nullable public Instant apply(@Nullable ProfileRequestContext input)
- Specified by:
applyin interfaceFunction<ProfileRequestContext,Instant>
-
-