Class NameIDAuditExtractor
java.lang.Object
net.shibboleth.idp.saml.audit.impl.NameIDAuditExtractor
- All Implemented Interfaces:
Function<ProfileRequestContext,String>
public class NameIDAuditExtractor extends Object implements Function<ProfileRequestContext,String>
Function
that returns the Name Identifier from a request or 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 NameIDAuditExtractor(Function<ProfileRequestContext,SAMLObject> strategy)
Constructor. -
Method Summary
-
Field Details
-
responseLookupStrategy
Lookup strategy for message to read from.
-
-
Constructor Details
-
NameIDAuditExtractor
Constructor.- Parameters:
strategy
- lookup strategy for message
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<ProfileRequestContext,String>
-
apply
Apply function to an assertion.- Parameters:
assertion
- assertion to operate on- Returns:
- the identifier, or null
-
apply
Apply function to an assertion.- Parameters:
assertion
- assertion to operate on- Returns:
- the identifier, or null
-