Class AuthnContextAuditExtractor
java.lang.Object
net.shibboleth.idp.saml.audit.impl.AuthnContextAuditExtractor
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
public class AuthnContextAuditExtractor extends Object implements Function<ProfileRequestContext,String>
Function
that returns the first AuthenticationMethod, AuthnContextCLassRef,
or AuthnContextDeclRef from an assertions in a response.-
Field Summary
Fields Modifier and Type Field Description private Function<ProfileRequestContext,SAMLObject>
responseLookupStrategy
Lookup strategy for message to read from. -
Constructor Summary
Constructors Constructor Description AuthnContextAuditExtractor(Function<ProfileRequestContext,SAMLObject> strategy)
Constructor. -
Method Summary
Modifier and Type Method Description String
apply(ProfileRequestContext input)
-
Field Details
-
responseLookupStrategy
Lookup strategy for message to read from.
-
-
Constructor Details
-
AuthnContextAuditExtractor
Constructor.- Parameters:
strategy
- lookup strategy for message
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,String>
-