public class PrepareInboundMessageContext extends AbstractProfileAction
MessageContext and a SAMLPeerEntityContext to the
ProfileRequestContext based on the identity of the relying party bound to a SAML2SPSession
found in a LogoutPropagationContext.
This action mocks up a minimal amount of machinery on the inbound message side to drive a
SAML 2 Logout Propagation flow, which needs to issue a logout request message for the SAML2SPSession
it's given.
It's named generically so that if we need to expand it to support something beyond SAML 2 (some kind of hack for SAML 1?) we can do that.
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX| Modifier and Type | Field and Description |
|---|---|
private org.slf4j.Logger |
log
Class logger.
|
private Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.idp.session.context.LogoutPropagationContext> |
logoutPropContextLookupStrategy
Logout propagation context lookup strategy.
|
private SAML2SPSession |
saml2Session
The
SAML2SPSession to base the inbound context on. |
| Constructor and Description |
|---|
PrepareInboundMessageContext()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
protected boolean |
doPreExecute(org.opensaml.profile.context.ProfileRequestContext profileRequestContext) |
void |
setLogoutPropagationContextLookupStrategy(Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.idp.session.context.LogoutPropagationContext> strategy)
Set the logout propagation context lookup strategy.
|
doExecute, execute, getMessage, getMessage, getMessage, getProfileContextLookupStrategy, getRequestContext, getResult, setMessageSource, setProfileContextLookupStrategygetActivationCondition, setActivationConditiondoPostExecute, doPostExecute, execute, getHttpServletRequest, getHttpServletResponse, getLogPrefix, setHttpServletRequest, setHttpServletResponsedestroy, doDestroy, doInitialize, initialize, isDestroyed, isInitializedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitialize, isInitialized@Nonnull private final org.slf4j.Logger log
@Nonnull private Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.idp.session.context.LogoutPropagationContext> logoutPropContextLookupStrategy
@Nullable private SAML2SPSession saml2Session
SAML2SPSession to base the inbound context on.public void setLogoutPropagationContextLookupStrategy(@Nonnull Function<org.opensaml.profile.context.ProfileRequestContext,net.shibboleth.idp.session.context.LogoutPropagationContext> strategy)
strategy - lookup strategyprotected boolean doPreExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doPreExecute in class org.opensaml.profile.action.AbstractConditionalProfileActionprotected void doExecute(@Nonnull org.opensaml.profile.context.ProfileRequestContext profileRequestContext)
doExecute in class org.opensaml.profile.action.AbstractProfileActionCopyright © 1999–2017 Shibboleth Consortium. All rights reserved.