A resource can be attached to a policy while adding the particular policy or after adding it.
While adding a policy
To attach the policy to a resource while adding the particular policy, select the respective resource from the list that appears in the dialog box. To attach to a certain end point, select from the Scope drop-down.
After adding the policy
A proxy flow is comprised of any of the four endpoints as below:
- Proxy Request
- Target Request
- Target Response
- Proxy Response
To attach an existing policy (already created) to the respective endpoint, perform the following actions:
- Click the Resources tab present below the Policies tab on the left navigation panel.
- A resource named 'DefaultResource' will already be present under the tab; add a new resource or edit the Default Resource.
- Click on the resource to view the resource editor on the right side. Policies can be attached at four places, each of them appearing as an arrow on the resource editor.
- Selecting any of these arrows will open an editor window.
- Click the Edit button beside the editor to display the sections below:
- Policies: Lists the policies added to respective endpoints.
- Available Policies: Lists the policies available to be added.
- Select the required policies and add them to the endpoint by dragging it from Available Policies section to Policies section or by using the Arrow button available between the sections.
- After this is done, click the Save button to apply the changes and to attach the policy to the project
Overview
Content Tools
ThemeBuilder