Class PopulateLogoutContext
java.lang.Object
net.shibboleth.shared.component.AbstractInitializableComponent
org.opensaml.profile.action.AbstractProfileAction
org.opensaml.profile.action.AbstractConditionalProfileAction
net.shibboleth.idp.profile.AbstractProfileAction
net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractInitializeOutboundResponseMessageContext
net.shibboleth.idp.plugin.oidc.op.logout.profile.impl.PopulateLogoutContext
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
This action creates
OIDCLogoutPropagationContext and populates it with the front- and back-channel URIs if
found from the RP metadata.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate com.nimbusds.openid.connect.sdk.rp.OIDCClientInformationThe OIDC client information found fromOIDCMetadataContext.private static final org.slf4j.LoggerClass logger.The strategy used for creatingOIDCLogoutPropagationContext.The strategy used for looking upOIDCMetadataContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExecute(ProfileRequestContext profileRequestContext) protected booleandoPreExecute(ProfileRequestContext profileRequestContext) voidsetOidcLogoutContextCreationStrategy(Function<ProfileRequestContext, OIDCLogoutPropagationContext> strategy) Set the strategy used for creatingOIDCLogoutPropagationContext.voidSet the strategy used for looking upOIDCMetadataContext.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractInitializeOutboundResponseMessageContext
setContextTypeMethods inherited from class net.shibboleth.idp.profile.AbstractProfileAction
doExecute, execute, getBean, getBean, getMessage, getMessage, getMessage, getParameter, getParameter, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategyMethods inherited from class org.opensaml.profile.action.AbstractConditionalProfileAction
getActivationCondition, setActivationConditionMethods inherited from class org.opensaml.profile.action.AbstractProfileAction
doPostExecute, doPostExecute, ensureHttpServletRequest, ensureHttpServletResponse, execute, getHttpServletRequest, getHttpServletRequestSupplier, getHttpServletResponse, getHttpServletResponseSupplier, getLogPrefix, isPreExecuteCalled, setHttpServletRequestSupplier, setHttpServletResponseSupplierMethods inherited from class net.shibboleth.shared.component.AbstractInitializableComponent
checkComponentActive, checkSetterPreconditions, destroy, doDestroy, doInitialize, ifDestroyedThrowDestroyedComponentException, ifInitializedThrowUnmodifiabledComponentException, ifNotInitializedThrowUninitializedComponentException, initialize, isDestroyed, isInitializedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.shibboleth.shared.component.InitializableComponent
initialize, isInitialized
-
Field Details
-
log
@Nonnull private static final org.slf4j.Logger logClass logger. -
oidcLogoutContextCreationStrategy
@Nonnull private Function<ProfileRequestContext,OIDCLogoutPropagationContext> oidcLogoutContextCreationStrategyThe strategy used for creatingOIDCLogoutPropagationContext. -
oidcMetadataContextLookupStrategy
@Nonnull private Function<ProfileRequestContext,OIDCMetadataContext> oidcMetadataContextLookupStrategyThe strategy used for looking upOIDCMetadataContext. -
clientInformation
@Nullable private com.nimbusds.openid.connect.sdk.rp.OIDCClientInformation clientInformationThe OIDC client information found fromOIDCMetadataContext.
-
-
Constructor Details
-
PopulateLogoutContext
public PopulateLogoutContext()Constructor.
-
-
Method Details
-
setOidcLogoutContextCreationStrategy
public void setOidcLogoutContextCreationStrategy(@Nonnull Function<ProfileRequestContext, OIDCLogoutPropagationContext> strategy) Set the strategy used for creatingOIDCLogoutPropagationContext.- Parameters:
strategy- What to set.
-
setOidcMetadataContextLookupStrategy
public void setOidcMetadataContextLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCMetadataContext> strategy) Set the strategy used for looking upOIDCMetadataContext.- Parameters:
strategy- What to set.
-
doPreExecute
- Overrides:
doPreExecutein classAbstractConditionalProfileAction
-
doExecute
- Overrides:
doExecutein classAbstractInitializeOutboundResponseMessageContext
-