public final class SelectRelyingPartyConfiguration extends AbstractMessageHandler
RelyingPartyConfiguration and adds it to the
RelyingPartyContext that was looked up.RelyingPartyContext is located, it will be populated with a non-null result of applying
the supplied
CriteriaRelyingPartyConfigurationResolver to the RelyingPartyContext.getRelyingPartyId().| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private com.google.common.base.Function<MessageContext,RelyingPartyContext> |
relyingPartyContextLookupStrategy
Strategy used to locate the
RelyingPartyContext associated with a given MessageContext. |
private RelyingPartyContext |
relyingPartyCtx
The
RelyingPartyContext to manipulate. |
private CriteriaRelyingPartyConfigurationResolver |
rpConfigResolver
Resolver used to look up relying party configurations.
|
| Constructor and Description |
|---|
SelectRelyingPartyConfiguration()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doInitialize() |
void |
doInvoke(MessageContext messageContext) |
boolean |
doPreInvoke(MessageContext messageContext) |
void |
setRelyingPartyConfigurationResolver(CriteriaRelyingPartyConfigurationResolver resolver)
Set the relying party config resolver to use.
|
void |
setRelyingPartyContextLookupStrategy(com.google.common.base.Function<MessageContext,RelyingPartyContext> strategy)
Set the strategy used to locate the
RelyingPartyContext associated with a given
MessageContext. |
doPostInvoke, doPostInvoke, getActivationCondition, getLogPrefix, invoke, setActivationConditiondestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
@NonnullAfterInit private CriteriaRelyingPartyConfigurationResolver rpConfigResolver
@Nonnull private com.google.common.base.Function<MessageContext,RelyingPartyContext> relyingPartyContextLookupStrategy
RelyingPartyContext associated with a given MessageContext.@Nullable private RelyingPartyContext relyingPartyCtx
RelyingPartyContext to manipulate.public SelectRelyingPartyConfiguration()
public void setRelyingPartyConfigurationResolver(@Nonnull CriteriaRelyingPartyConfigurationResolver resolver)
resolver - the resolver to usepublic void setRelyingPartyContextLookupStrategy(@Nonnull com.google.common.base.Function<MessageContext,RelyingPartyContext> strategy)
RelyingPartyContext associated with a given
MessageContext.strategy - strategy used to locate the RelyingPartyContext associated with a given
MessageContextprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionpublic boolean doPreInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doPreInvoke in class AbstractMessageHandlerMessageHandlerExceptionpublic void doInvoke(@Nonnull MessageContext messageContext) throws MessageHandlerException
doInvoke in class AbstractMessageHandlerMessageHandlerExceptionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.