public final class SelectRelyingPartyConfiguration extends AbstractProfileAction
RelyingPartyConfiguration and adds it to the RelyingPartyContext
that was looked up.EventIds.PROCEED_EVENT_ID, IdPEventIds.INVALID_RELYING_PARTY_CTX, IdPEventIds.INVALID_RELYING_PARTY_CONFIGRelyingPartyContext is located, it will be populated with a non-null result of applying
the supplied RelyingPartyConfigurationResolver to the ProfileRequestContext.| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private com.google.common.base.Function<ProfileRequestContext,RelyingPartyContext> |
relyingPartyContextLookupStrategy
Strategy used to locate the
RelyingPartyContext associated with a given ProfileRequestContext. |
private RelyingPartyContext |
relyingPartyCtx
The
RelyingPartyContext to manipulate. |
private RelyingPartyConfigurationResolver |
rpConfigResolver
Resolver used to look up relying party configurations.
|
| Constructor and Description |
|---|
SelectRelyingPartyConfiguration()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
doExecute(ProfileRequestContext profileRequestContext) |
protected void |
doInitialize() |
boolean |
doPreExecute(ProfileRequestContext profileRequestContext) |
void |
setRelyingPartyConfigurationResolver(RelyingPartyConfigurationResolver resolver)
Set the relying party config resolver to use.
|
void |
setRelyingPartyContextLookupStrategy(com.google.common.base.Function<ProfileRequestContext,RelyingPartyContext> strategy)
Set the strategy used to locate the
RelyingPartyContext associated with a given
ProfileRequestContext. |
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
@NonnullAfterInit private RelyingPartyConfigurationResolver rpConfigResolver
@Nonnull private com.google.common.base.Function<ProfileRequestContext,RelyingPartyContext> relyingPartyContextLookupStrategy
RelyingPartyContext associated with a given ProfileRequestContext.@Nullable private RelyingPartyContext relyingPartyCtx
RelyingPartyContext to manipulate.public SelectRelyingPartyConfiguration()
public void setRelyingPartyConfigurationResolver(@Nonnull RelyingPartyConfigurationResolver resolver)
resolver - the resolver to usepublic void setRelyingPartyContextLookupStrategy(@Nonnull com.google.common.base.Function<ProfileRequestContext,RelyingPartyContext> strategy)
RelyingPartyContext associated with a given
ProfileRequestContext.strategy - strategy used to locate the RelyingPartyContext associated with a given
ProfileRequestContextprotected void doInitialize()
throws ComponentInitializationException
doInitialize in class AbstractInitializableComponentComponentInitializationExceptionpublic boolean doPreExecute(@Nonnull ProfileRequestContext profileRequestContext)
doPreExecute in class AbstractConditionalProfileActionpublic void doExecute(@Nonnull ProfileRequestContext profileRequestContext)
doExecute in class AbstractProfileActionCopyright © 1999–2018 Shibboleth Consortium. All rights reserved.