Class PopulateJWTEncryptionParameters

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

public class PopulateJWTEncryptionParameters extends AbstractProfileAction
Action that resolves and populates EncryptionParameters on an SecurityParametersContext created/accessed via a lookup function, by default on a child of the outbound message context.

The resolution process is contingent on the active profile configuration requesting encryption.

The default, per-RelyingParty, and default per-profile EncryptionConfiguration objects are input to the resolution process, along with the relying party's client metadata, any static credentials configured on the relying party, and the OpenID Provider metadata (which in most cases will be the source of the eventual encryption key)

Since:
2.2.0
Event:
EventIds.PROCEED_EVENT_ID, EventIds.INVALID_PROFILE_CTX, EventIds.INVALID_SEC_CFG
Postcondition:
set the encryption parameters onto the security parameters context