public static class AddNameIDToSubjects.RequesterIdFromIssuerFunction extends java.lang.Object implements com.google.common.base.Function<ProfileRequestContext,java.lang.String>
RequestAbstractType.getIssuer()
from a request message returned from a lookup function, by default the inbound message.| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<ProfileRequestContext,RequestAbstractType> |
requestLookupStrategy
Strategy used to locate the
AuthnRequest to operate on. |
| Constructor and Description |
|---|
RequesterIdFromIssuerFunction()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
apply(ProfileRequestContext profileRequestContext) |
void |
setRequestLookupStrategy(com.google.common.base.Function<ProfileRequestContext,RequestAbstractType> strategy)
Set the strategy used to locate the
RequestAbstractType to examine. |
@Nonnull private com.google.common.base.Function<ProfileRequestContext,RequestAbstractType> requestLookupStrategy
AuthnRequest to operate on.public RequesterIdFromIssuerFunction()
public void setRequestLookupStrategy(@Nonnull
com.google.common.base.Function<ProfileRequestContext,RequestAbstractType> strategy)
RequestAbstractType to examine.strategy - strategy used to locate the RequestAbstractType@Nullable
public java.lang.String apply(@Nullable
ProfileRequestContext profileRequestContext)
apply in interface com.google.common.base.Function<ProfileRequestContext,java.lang.String>