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