Class AddNameIdentifierToSubjects

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction

public class AddNameIdentifierToSubjects extends AbstractProfileAction
Action that builds a NameIdentifier and adds it to the Subject of all the statements in all the assertions found via a lookup strategy, by default from the outbound message context.

No assertions or statements will be created by this action, but if no Subject exists in the statements found, it will be created.

The source of the NameIdentifier is one of a set of candidate SAML1NameIdentifierGenerator plugins injected into the action. The plugin(s) to attempt to use are derived from the Format value, which is established by a lookup strategy.

Event:
EventIds.PROCEED_EVENT_ID