Class PolicyConfig

  • All Implemented Interfaces:
    ServiceListener

    public class PolicyConfig
    extends Object
    implements ServiceListener
    The PolicyConfig class manages policy configuration for an organization and resource comparator configuration for a serviceType. The policy organization configuration is defined in amPolicyConfiguration service. The policy configuration values need to be set for each organization. The Subject implementations get these configuration values as a Map. The keys to the map are defined as constants in this class. Different Subject implementations need different key values. For example, LDAP Group subject needs LDAP_GROUP_SEARCH_FILTER, LDAP_GROUP_SEARCH_SCOPE. All subject plugins that do not use Identity repository API, will require LDAP_SERVER, LDAP_BASE_DN, LDAP_BIND_DN, LDAP_BIND_PASSWORD.

    The resource comparator configuration is a Map. The keys to this map are serviceType names. For example, "iplanetAMWebAgentService". The value for these keys is also a Map. The value map contains following keys. This map is passed to the ResourceComparator class while instantiating a ResourceComparator class. The map contains the following keys:

  • RESOURCE_COMPARATOR_CLASS
  • RESOURCE_COMPARATOR_WILDCARD
  • RESOURCE_COMPARATOR_ONE_LEVEL_WILDCARD
  • RESOURCE_COMPARATOR_DELIMITER
  • RESOURCE_COMPARATOR_CASE_SENSITIVE