Class AbstractOIDCRpInitiatedLogoutAction
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.AbstractOIDCRequestAction<LogoutRequest>
net.shibboleth.idp.plugin.oidc.op.logout.profile.impl.AbstractOIDCRpInitiatedLogoutAction
- All Implemented Interfaces:
Component,DestructableComponent,InitializableComponent,ProfileAction,Aware,MessageSource,MessageSourceAware,Action
- Direct Known Subclasses:
FormRpInitiatedLogoutResponse,PopulateRpInitiatedLogoutContext,ProcessRpInitiatedLogoutRequest,ValidateIdTokenHint,ValidatePostLogoutRedirectURI
An abstract action for OIDC logout actions dealing with OIDC RP-initiated logout.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final org.slf4j.LoggerClass logger.private OIDCMetadataContextOIDC metadata context.Strategy function to lookup theOIDCMetadataContext.Strategy function to lookup theOIDCRpInitiatedLogoutContext.private OIDCRpInitiatedLogoutContextRP-initiated OIDC logout context. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleandoPreExecute(ProfileRequestContext profileRequestContext) Returns OIDC RP-initiated logout request.Returns the OIDC Metadata context.Get the RP-initiated OIDC logout context.voidSet the mechanism to lookup theOIDCMetadataContextfrom theProfileRequestContext.voidsetOIDCRpInitatedLogoutCtxLookupStrategy(Function<ProfileRequestContext, OIDCRpInitiatedLogoutContext> strategy) Set the mechanism to lookup theOIDCRpInitiatedLogoutContext.Methods inherited from class net.shibboleth.idp.plugin.oidc.op.profile.impl.AbstractOIDCRequestAction
getRequestMethods 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
doExecute, 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. -
oidcMetadataCtxLookupStrategy
Strategy function to lookup theOIDCMetadataContext. -
oidcRpInitatedLogoutCtxLookupStrategy
@Nonnull private Function<ProfileRequestContext,OIDCRpInitiatedLogoutContext> oidcRpInitatedLogoutCtxLookupStrategyStrategy function to lookup theOIDCRpInitiatedLogoutContext. -
oidcMetadataContext
OIDC metadata context. -
rpInitiatedLogoutContext
RP-initiated OIDC logout context.
-
-
Constructor Details
-
AbstractOIDCRpInitiatedLogoutAction
public AbstractOIDCRpInitiatedLogoutAction()Constructor.
-
-
Method Details
-
setOIDCRpInitatedLogoutCtxLookupStrategy
public void setOIDCRpInitatedLogoutCtxLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCRpInitiatedLogoutContext> strategy) Set the mechanism to lookup theOIDCRpInitiatedLogoutContext.- Parameters:
strategy- What to set.
-
setOIDCMetadataContextLookupStrategy
public void setOIDCMetadataContextLookupStrategy(@Nonnull Function<ProfileRequestContext, OIDCMetadataContext> strategy) Set the mechanism to lookup theOIDCMetadataContextfrom theProfileRequestContext.- Parameters:
strategy- What to set.
-
doPreExecute
- Overrides:
doPreExecutein classAbstractOIDCRequestAction<LogoutRequest>
-
getMetadataContext
Returns the OIDC Metadata context.- Returns:
- The OIDC Metadata context.
-
getRpInitiatedLogoutContext
Get the RP-initiated OIDC logout context.- Returns:
- The RP-initiated OIDC logout context.
-
getLogoutRequest
Returns OIDC RP-initiated logout request.- Returns:
- request
-