Class AddLogoutResponse

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

public class AddLogoutResponse extends AbstractApplicationAction
Action that creates an LogoutResponse and sets it as the message returned by InOutOperationContext.getOutboundMessageContext().

If an issuer value is returned via a lookup strategy, then it's set as the Issuer of the message.

A StateDataContext containing a SAMLStateData objeect must be present to provide the necessary information to populate into the response.

Event:
EventIds.PROCEED_EVENT_ID, EventIds.IO_ERROR, EventIds.INVALID_MSG_CTX, EventIds.INVALID_PROFILE_CTX, IdPEventIds.INVALID_PROFILE_CONFIG
Precondition:
ProfileRequestContext.getSubcontext(StateDataContext.class).getStateData() instanceof SAMLStateData
Postcondition:
ProfileRequestContext.getOutboundMessageContext().getMessage() != null