The following Java packages comprise the Policy APIs:
Contains policy evaluation classes for policy administration and evaluation. Policy evaluation classes from this package require a direct connection to the policy data store. These classes should be used with caution, and only when classes from com.sun.identity.policy.client cannot handle your use case.
Contains classes used by remote Java applications to evaluate policies and to get policy decisions.
Contains interfaces for writing custom Policy plug-ins for conditions, subjects, referrals and resources.