Type - the type of data returned by the functionpublic abstract class AbstractAttributeResolutionLookupFunction<Type> extends Object implements org.opensaml.messaging.context.navigate.ContextDataLookupFunction<org.opensaml.profile.context.ProfileRequestContext,Type>
ProfileRequestContext and requires access to an
AttributeResolutionContext.| Modifier and Type | Field and Description |
|---|---|
private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,AttributeResolutionContext> |
attributeResolutionContextLookupStrategy
Strategy used to locate the
AttributeResolutionContext associated with a given
ProfileRequestContext. |
| Constructor and Description |
|---|
AbstractAttributeResolutionLookupFunction()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Type |
apply(org.opensaml.profile.context.ProfileRequestContext input) |
protected abstract Type |
doApply(AttributeResolutionContext input)
Method that performs eventual lookup of target data.
|
void |
setAttributeResolutionContextLookupStrategy(com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,AttributeResolutionContext> strategy)
Sets the strategy used to locate the
AttributeResolutionContext associated with a given
ProfileRequestContext. |
@Nonnull private com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,AttributeResolutionContext> attributeResolutionContextLookupStrategy
AttributeResolutionContext associated with a given
ProfileRequestContext.public AbstractAttributeResolutionLookupFunction()
public void setAttributeResolutionContextLookupStrategy(@Nonnull com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,AttributeResolutionContext> strategy)
AttributeResolutionContext associated with a given
ProfileRequestContext.strategy - strategy used to locate the AttributeResolutionContext associated with a given
ProfileRequestContext@Nullable public Type apply(@Nullable org.opensaml.profile.context.ProfileRequestContext input)
apply in interface com.google.common.base.Function<org.opensaml.profile.context.ProfileRequestContext,Type>@Nullable protected abstract Type doApply(@Nonnull AttributeResolutionContext input)
input - the context to examineCopyright © 1999–2014. All rights reserved.