Class ProcessLogoutTokenRequest

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction, Aware, MessageSource, MessageSourceAware, Action

public class ProcessLogoutTokenRequest extends AbstractApplicationAction
Processes a request to potentially issue a SAML 2.0 LogoutResponse by examining the input to recover the "token" issued by the logout-consumer flow in a previous call.

Assuming the token is present and sufficient, it creates a RelyingPartyContext based on the identity of the original IdP that needs to receive the message and a StateDataContext to store the state recovered from the token, principally the original request's ID and RelayState value.

Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX, EventIds.INVALID_MESSAGE, EventIds.INVALID_MSG_CTX, EventIds.UNABLE_TO_DECODE, IdPEventIds.INVALID_RELYING_PARTY_CTX
Precondition:
profileRequestContext.ensureSubcontext(AgentRequestContext.class).getInput().getmember("token").string() != null
Postcondition:
profileRequestContext.getSubcontext(StateDataContext.class) != null