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


Manage policy set attachments for service references using wsadmin.sh

Use wsadmin.sh to manage your policy set attachment configurations for services and service references. Use the Jython or Jacl scripting language to list all attachments and attachment properties, add or remove resources for an existing attachment, and transfer attachments across policy sets.

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

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

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

Policy set attachments define how a policy set is attached to resources and binding configurations.

Application components including application clients, web modules, and EJB modules, can define references to external web services by using logical names called web service references. Before v8, web service references always inherited the policy set attachment of the web service.

New feature: In v8, you can specify a policy set and binding for a service reference that is different from the policy set attachment for the service. In addition, you can indicate to not attach a policy set to a service reference, even if a policy set is attached to the service. The default behavior is that a service reference, as well as its endpoints and operations, inherits the policy set attachment of the corresponding resources of the service. Service references are only valid for the client attachment type.New feature:

Mixed-version environment: In a mixed cell environment, the following limitations apply to service reference attachments or resource attachments specified in name-value pair format:

mixv


Procedure


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


Related


Search attached applications collection
PolicySetManagement command group

+

Search Tips   |   Advanced Search