Demonstration plugin

Demonstration plugin

Demonstration plugin

The instance provides a demonstration plugin called Encryption Support - Single Context
Task Encryption Demo (com.snc.task_encryption.demo).

The demonstration plugin is meant to illustrate how to use business rules, UI actions, and UI policy to
support encrypted fields. The plugin enforces a limit of one security context per record. The
first person to add encrypted information to a record sets the context.

You should test the demonstration plugin on a sub-production instance since it modifies the
Task table and adds business rules and a UI policy. After activating the plugin:

Create one or more encryption contexts.

Configure the Incident form to add the Social security number,
Credit card, and Encryption context fields.

The plugin UI actions are:

Add Secure Info: appears on records without encrypted data and allows the
user to display the social security numbers and credit card fields.

Add Secure Info: appears on records without encrypted data and prompts the
user to select an encryption context (if the user has more than one).

Change Encryption: appears on records with encrypted data and prompts the
user to select an encryption context (if the user has more than one).

The plugin business rules are:

Form Single Encryption Context: ensures that each form only has one
security context.

Update on New Encrypted Attachment: ensures that each attachment has the
same security context as the parent incident.