public class NameIDAuditExtractor extends Object implements Function<ProfileRequestContext,String>
Function that returns the Name Identifier from a request or response.| Modifier and Type | Field and Description |
|---|---|
private Function<ProfileRequestContext,SAMLObject> |
responseLookupStrategy
Lookup strategy for message to read from.
|
| Constructor and Description |
|---|
NameIDAuditExtractor(Function<ProfileRequestContext,SAMLObject> strategy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private String |
apply(Assertion assertion)
Apply function to an assertion.
|
private String |
apply(Assertion assertion)
Apply function to an assertion.
|
String |
apply(ProfileRequestContext input) |
@Nonnull private final Function<ProfileRequestContext,SAMLObject> responseLookupStrategy
public NameIDAuditExtractor(@Nonnull Function<ProfileRequestContext,SAMLObject> strategy)
strategy - lookup strategy for message@Nullable public String apply(@Nullable ProfileRequestContext input)
apply in interface Function<ProfileRequestContext,String>@Nullable private String apply(@Nonnull Assertion assertion)
assertion - assertion to operate onCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.