Class UpdateSessionWithSPSession

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

public class UpdateSessionWithSPSession
extends AbstractProfileAction
An action that establishes a record of an SPSession in an existing IdPSession for the client.

The SPSession to add is obtained using a strategy function injected into the action.

The existing session to modify is identified via a SessionContext attached to the ProfileRequestContext.

An error interacting with the session layer will result in an EventIds.IO_ERROR event.

Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX, EventIds.IO_ERROR
Postcondition:
If ProfileRequestContext.getSubcontext(SessionContext.class).getIdPSession() != null and a non-null SPSession is supplied by the strategy function, then the steps above are performed.