Class InitializeOutboundMessageContext

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

public class InitializeOutboundMessageContext extends AbstractProfileAction
Action that adds an outbound MessageContext and SAML entity contexts to the ProfileRequestContext based on the identity of a relying party accessed via a lookup strategy, by default an immediate child of the profile request context.

A SAMLSelfEntityContext is created based on the identity of the peer, as derived by a lookup strategy. A SAMLPeerEntityContext and SAMLMetadataContext are created based on the SAMLPeerEntityContext that underlies the RelyingPartyContext.

The requirement for a peer context may be relaxed with a flag.

Event:
EventIds.PROCEED_EVENT_ID, IdPEventIds.INVALID_RELYING_PARTY_CTX