Network Deployment (Distributed operating systems), v8.0 > Scripting the application serving environment (wsadmin) > Welcome to scripting for web services > Configure web services applications using wsadmin.sh > Configure application and system policy sets for web services using wsadmin.sh


Remove policy set attachments using wsadmin

Use the Jython or Jacl scripting language to remove and transfer policy sets from application artifacts. We can also remove resources that apply to a policy set attachment without deleting the policy set attachment.

When administrative security is enabled, verify that you use the correct administrative role:

Administrative roles. The administrative role determines if you can remove policy set attachments.

Administrative role Authorization
Administrator The Administrator role must have cell-wide access to remove policy set attachments. If we have access to a specific resource only, you can remove policy set attachments for the resource for which we have access.
Configurator The Configurator role must have cell-wide access to remove policy set attachments. If we have access to a specific resource only, you can remove policy set attachments for the resource for which we have access.
Deployer The Deployer role with cell-wide or resource specific access can remove policy set attachments for application resources only.
Operator The Operator role cannot remove policy set attachments.
Monitor The Monitor role cannot remove policy set attachments.

Determine which applications and policy sets to remove, detach, or transfer. Use the listWebServices command to list all Web services and for the application to edit. Enter the command to list all web services and attributes for a specific application.

AdminTask.listWebServices('[–application application_name]')
To view a list of all web services and associated applications, do not provide the -application parameter. For each web service, the command returns the associated application name, module name, service name, and service type. We can also use the listAttachmentsForPolicySet and getPolicySetAttachments administrative commands to view existing configuration data. For additional information about these commands, use the information center topic for the PolicySetManagement group of commands .

There are four ways to remove policy set attachments, including:

Choose the appropriate procedure to remove your policy set attachments.


Procedure


Configure attachments for the trust service
Configure application and system policy sets for web services using wsadmin.sh
Create policy sets using wsadmin.sh
Add and remove policies using wsadmin.sh
Create policy set attachments using wsadmin
Manage policy set attachments using wsadmin
Remove policy set attachments using wsadmin
Manage policy sets


Related


PolicySetManagement command group

+

Search Tips   |   Advanced Search