Editing policy configurations using wsadmin scripting
Use the wsadmin tool, which supports the Jython and Jacl scripting languages, to edit policy configurations for your policy sets.
Before you begin
在使用這個主題中的指令之前,請確認您使用 wsadmin 工具的最新版本。 在舊版的 wsadmin 工具中,不支援接受內容物件作為 attributes 或 bindingLocation 參數值的原則集管理指令。 例如,在 6.1.0.x 版節點上,不執行這些指令。
When
administrative security is enabled, verify that you use the correct
administrative role, as the following table describes:
Administrative role | Authorization |
---|---|
Administrator | The Administrator role must have cell-wide access to modify policies. |
Configurator | The Configurator role cannot modify policies. |
Deployer | The Deployer role cannot modify policies. |
Operator | The Operator role cannot modify policies. |
Monitor | The Monitor role cannot modify policies. |
About this task
Policies define the type of policy to manage within a policy set. Policies are based on the Quality of Services (QoS), such as Web Services Security (WS-Security) and Web Services Addressing (WS-Addressing). Policy definitions are based on the standards set by the Organization for the Advancement of Structured Information (OASIS) and WS-Security specifications.
Use the following steps to edit existing policies in your policy set configurations:
Procedure
What to do next
Use the validatePolicySet to validate your policy set
configurations after modifying attributes for policies. For example,
enter the following command to validate the PolicySet1 policy
set:
AdminTask.validatePolicySet('-policySet PolicySet1')