+

Search Tips   |   Advanced Search


Manage portal resources with policies

Use policies to specify and apply common and specialized settings that determine the how portal resources function for different classes of users.

A policy is a collection of settings that influences the behavior of a portal resource and the experience that users will have when working with the resource. Policies simplify the management of portal resources because the policy settings for a resource type can control the behavior of the resource for different classes of users. For sites that comprise large numbers of users and resources, specifying and applying policies to portal resources eliminates much time-consuming effort that would otherwise require administrators to manage a vast array of discrete settings for users and resources.

Policies can improve both the administration and the use of the following portal resources, the policy targets:

Policies are grouped according to the types of resources that apply the policies and follow a hierarchical model that supports inheritance. For each type of portal resource that you manage with policies, you can specify standard policy settings that support the uniform business processes as well as specialized policy settings that support business process refinements for a variety of routine and exceptional conditions. That is, you can refine the main policies that are provided for portal resources by creating child policies that inherit or override the policy settings of the parent policy. You reuse common and specialized business logic when you select the policy rules and conditions that constitute child policies created from parent policies. When you edit the policy settings of a resource, you can choose to preserve or break the inheritance of policy setting values between parent and child policies.

The policy settings for a particular type of portal resource are defined in the XML document that specifies the policy type, its settings, its rules, and its targets. Policy rules contain the business logic, expressed as conditional statements, that drives your business processes and determines how portal resources function for a class of users. The policy definition contains references to one or more rules that describe the actions that will occur on a target user or object when specific conditions exist. The events or conditions that must be evaluated for the resource and the actions performed on the resource are expressed in the rules and presented in the policy settings. The policy settings for a resource are evaluated by the Personalization rules engine. When you create or modify child policies, you work with the Personalization browser, which provides the rule editor and rule selector for working with policy rules.

Policy definition XML is installed with other portal configuration properties during WebSphere Portal installation and can be modified using the portal XML configuration interface. You can also import and export a policy definition using the drop-down menu of the policy in the Resource Policies portlet. Using the Javadoc of the Policy Manager API, application developers and data integrators can create new policy type definitions, extend the policy type definitions provided by the product, and add policy value sets to collections of policy settings. Portal deployers can use the XML configuration interface to create policy types, import and export policy definitions, remove policy types, replace policy types, and restore default policy types.

You assign users permission to work with policies as you do any other portal resource: Use the Resource Permissions portlet to assign user roles for working with policies.

To begin working with policies for portal resources, from the product banner click Administration > Access > Resource Policies.

Refer to the topics provided here to learn more about policies for portal resources. The online Help topics that are available when you perform policy tasks are also included here as related tasks along with related concepts and reference topics.


Parent topic:

Administer WebSphere Portal


Related tasks


Work with policies for composite applications