In the Enter Resource Scope page, modify the scope as desired and click Next.

9-12 Oracle Fusion Middleware Security and Administrators Guide for Web Services wls:jrfServer_domainserverConfig displayPolicySet Policy Set Details: ------------------- Name: app-only-web-service-policies Type of Resources: Web Service Endpoint Scope of Resources: DomainjrfServer_domain Description: Default policies for application jaxws-sut Enabled: true Policy Reference: security : oraclewss11_saml_or_username_token_with_ message_protection_service_policy, enabled=true 5. To change the resource scope of the attachments, use the attachPolicySet command. attachPolicySetexpression Where: ■ expression is a supported expression that defines the resource scope, in a supported format, that is valid for the resource type defined in the policy set. For example, for SOA resource types, you cannot define the resource scope to be an application. The supported resource scopes for SOA resource types are Domain, Server, and Composite. For more information, see Defining the Type and Scope of Resources on page 9-19 For example, to attach the policies in the policy set only to the application named jaxws-sut, enter the following command: wls:jrfServer_domainserverConfig attachPolicySetApplicationjaxws-sut Scope of resources updated. 6. Optionally, you can view the configuration of the cloned policy set using the displayPolicySet command. For example: wls:jrfserver_domainserverConfigdisplayPolicySet Policy Set Details: ------------------- Name: app-only-web-service-policies Type of Resources: Web Service Endpoint Scope of Resources: Applicationjaxws-sut Description: Default policies for application jaxws-sut Enabled: true Policy Reference: security : oraclewss11_saml_or_username_token_with_ message_protection_service_policy, enabled=true 7. To write the contents of the current repository session to the repository, use the commitRepositorySession command. For example: wls:jrfserver_domainserverConfigcommitRepositorySession The policy set app-only-web-service-policies is valid. Creating policy set app-only-web-service-policies in repository. Repository session committed successfully.