The following section describes how to manage the Policy Service:
The Policy Service is responsible for the provisioning of rules into the rules engine. The rules engine can perform some of the policy evaluation of requests flowing through Network Gatekeeper. The Policy Service uses rules written in the policy evaluation language IRL, the Ilog Rules Language. The rules operate on data originating in the requests.
Management of the Policy Service mainly involves loading and deleting rules.
A rule file has an ID, that is given when it is loaded into persistent storage. Rule evaluation is performed if this ID corresponds to the plug-in type associated with the request. If there is no match the rule file with the ID DEFAULT is used. Rules exists on two levels, service provider- and application level.
The rules are enforced by a service interceptor, EvaluateILOGPolicy.
No configuration is necessary.
Managed object: Container ServicesPolicyService
MBean: com.bea.wlcp.wlng.policy.PolicyServiceMBean
Below is a list of attributes and operations for configuration and maintenance.
Deletes a rule file on the application group level.
deleteApplicationRuleFile(serviceName: String)
Deletes a rule file on the service provider group level.
deleteServiceProviderRuleFile(serviceName: String)
Displays the IDs of all application group rule files.
listApplicationRuleFiles()
Displays the IDs of all service provider group rule files.
listServiceProviderRuleFiles()
Loads a rule file on the application group level.
loadApplicationRules(serviceName: String)
Loads a rule file on the service provider group level.
loadServiceProviderRules(serviceName: String)
Displays the contents of a rule file on the application group level.
viewApplicationRuleFile(serviceName: String)
Displays the contents of a rule file on the service provider group level.
viewServiceProviderRuleFile(serviceName: String)