Class AddSubjectConfirmationToSubjects

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction

public class AddSubjectConfirmationToSubjects extends AbstractProfileAction
Action that builds SubjectConfirmation and adds it to the Subject of all the assertions found in a Response. The message to update is returned by a lookup strategy, by default the message returned by InOutOperationContext.getOutboundMessageContext().

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

An associated SubjectConfirmationData will be built to spec based on a set of lookup functions that optionally provide various attributes. They have appropriate defaults for the simple use case of a bearer SSO assertion but need to be overridden for other cases.