Activating a Global Policy
Before you begin
You must have the webMethods API Gateway's activate global policies functional privilege assigned.
About this task
Global policies are not enforced until they are activated.
When you activate a global policy, be aware that:
- When a global policy becomes active, webMethods API Gateway begins enforcing it immediately in all the applicable APIs that are currently in the Active state. You can suspend enforcement of a policy by switching it to the Inactive state as described in Deactivating a Global Policy.
- Activation of a global policy fails if there is a conflict in the effective policy validation in at least one of the active APIs that are applicable for this policy. webMethods API Gateway reports the conflict, and the global policy can only be activated when the conflict is resolved.
To determine whether a global policy is active or inactive, examine
the policy's
Active indicator on the
Policies >
Global Policies tab. The icon in the
Active column indicates the policy's
activation state as follows:
Icon | Description |
---|---|
![]() |
Policy is active. |
![]() |
Policy is inactive. |
The activation state of a policy is also reported in the Global Policy Details page.
To activate a global policy
Procedure
- Click Policies in the title navigation bar.
-
Click the
Global Policies tab.
A list of all available global policies appears. Use the Show drop-down list at the bottom of the page to set the maximum number of policies you want to display in a page.
-
Select the required policy.
The Global Policy details page appears.
-
Click
Activate.
If you do not see the Activate button, it is probably because you do not have the webMethods API Gateway Administrator role to activate a global policy, or the policy is already in an Active state in API Gateway.