public static class AddNameIDToSubjects.RequesterIdFromIssuerFunction extends Object implements com.google.common.base.Function<ProfileRequestContext,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 |
---|---|
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 String apply(@Nullable ProfileRequestContext profileRequestContext)
apply
in interface com.google.common.base.Function<ProfileRequestContext,String>
Copyright © 1999–2020 Shibboleth Consortium. All rights reserved.