WAS v8.5 > Script 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

Use wsadmin to manage your policy set attachment configurations for services and service references. We can 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 we use the correct administrative role, as the following table describes:

Administrative roles. The administrative role determines if we 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, we 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, we 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 using logical names called web service references. Before v8.0, web service references always inherited the policy set attachment of the web service.

In v8.0 and later, we can specify a policy set and binding for a service reference that is different from the policy set attachment for the service. In addition, we 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.

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

mixv


Related


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


Reference:

Search attached applications page
PolicySetManagement command group for AdminTask


+

Search Tips   |   Advanced Search