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