Programmatically applying policies

On a mass production environment such as generating monthly invoices for a telecom company, creating and applying policies that are specific to each document can become a resource-intensive process. In such cases, you can use the Rights Management Java API to create and apply policies that are specific to users, rather than to documents based on abstract policies. The license generated for a user is later used for all documents that are accessible to the user.

Using the APIs, you create an abstract policy that is a policy templates with all policy attributes such as document security settings and usage rights, except the list of principals. Administrators can create any number of policies from the abstract policy with different principals who should have access to the documents. Changes made to the abstract policy do not affect the actual policies that are generated from the abstract policies.

In the case of monthly invoice generation of a telecom company, you create an abstract policy, users, and then generate the licenses for each user that is later applied to the documents for each user.

You cannot create the abstract policy from the Rights Management Web pages. You can, however, administer the policies that you create from the abstract policy from the Rights Management web pages. Policies that are created using this method are identical in behavior to those created from Rights Management web pages.

See Programming with LiveCycle for more information.

// Ethnio survey code removed