Connect to the running instance of WebLogic Server as described in Use the displayPolicySet command to display the configuration of a specified

Creating and Managing Policy Sets 9-5 Figure 9–3 Enter General Information Page

4. Select the Enabled check box if you want to enable the policy set.

5. In the Type of Resources field, select the type of policy subject to which you want

to attach policies. On the next page you define the scope of resources to which you want the policy set to apply. The type of policy subjects that you can select are as follows: – SOA Component – SOA Service – SOA Reference – Web Service Connection – Web Service Endpoint – Web Service Client – Asynchronous Callback Client

6. Optionally, add a description of the policy set, and then click Next.

7. In the Enter Resource Scope page, enter at least one pattern string that defines the

scope for the resource type you selected in the previous step. The following resource scopes are supported: ■ Domain ■ Server Instance ■ Application ■ Application Module ■ SOA Composite The list of available resource scopes is determined by the Resource Type you selected on the previous page. For example, if you selected Web Service Endpoint, the resource scopes available are Domain, Server Instance, Application, and Application Module. For SOA resource types, the resource scopes available are Domain, Server Instance, and SOA Composite. For example, to attach the policies to all Web Service endpoints in the domain, enter a pattern string to represent the name of the domain only. You do not need Note: To specify a resource scope, you must enter a pattern string in at least one Pattern field on this page. 9-6 Oracle Fusion Middleware Security and Administrators Guide for Web Services to complete any of the other fields. To attach the policies at a finer scope, for example at the application or application module level, enter a pattern string to represent the name of the application or the module in the Pattern field. You can use an asterisk as a wildcard character anywhere within the string to match any number of characters at its position; you can specify multiple wildcards within the string. Note that if you use only an asterisk wildcard for Domain, the scope level will affect all domains in the enterprise. If you provide a pattern string for multiple resource scopes, such as Domain Name and Server Instance Name, the filtering conditions are ANDed together; for example, DomainmyDomain AND Server SOA. For more information about specifying the resource type and scope, and an example that specifies multiple resource scopes, see Defining the Type and Scope of Resources on page 9-19. Figure 9–4 Enter Resource Scope Page

8. Click Next.

9. In the Add Policy References page, select a policy from the Available Policies list,

and click Attach. To view details about a policy, select the policy and click the View Detail icon. A pop-up window provides a full read-only description of the policy and lists the assertions that it contains. Click OK when you are finished reviewing the details of the policy.

10. Continue selecting and attaching policies. When you are finished, click Validate to

verify that the combination of policies selected are valid.