public class RelyingPartyIdLookupFunction extends Object implements org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.profile.context.ProfileRequestContext,String>
RelyingPartyContext.getRelyingPartyId() from a
RelyingPartyContext obtained via a lookup function, by default a child of the ProfileRequestContext.
If a specific setting is unavailable, a null value is returned.
| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> |
relyingPartyContextLookupStrategy
Strategy used to locate the
RelyingPartyContext associated with a given ProfileRequestContext. |
| Constructor and Description |
|---|
RelyingPartyIdLookupFunction()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
apply(org.opensaml.profile.context.ProfileRequestContext input) |
void |
setRelyingPartyContextLookupStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> strategy)
Sets the strategy used to locate the
RelyingPartyContext associated with a given
ProfileRequestContext. |
@Nonnull private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy
RelyingPartyContext associated with a given ProfileRequestContext.public void setRelyingPartyContextLookupStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,RelyingPartyContext> strategy)
RelyingPartyContext associated with a given
ProfileRequestContext.strategy - strategy used to locate the RelyingPartyContext associated with a given
ProfileRequestContextCopyright © 1999–2014. All rights reserved.