Class EncryptAttributes

All Implemented Interfaces:
Component, DestructableComponent, InitializableComponent, ProfileAction

public class EncryptAttributes extends AbstractEncryptAction
Action that encrypts all attributes in a Response message obtained from a lookup strategy, by default the outbound message context.
Event:
EventIds.PROCEED_EVENT_ID, EventIds.UNABLE_TO_ENCRYPT
Postcondition:
All SAML attributes in any given statement in the response have been replaced with encrypted versions, or no changes are made to that statement. It's possible for some statements to be modified but others not if an error occurs.