28.8 Importing and Exporting Authorization Policies

You can import and export Authorization policies in order to run them in other Access Manager configurations and to analyze the authorization logic. The policy is exported as a text file with XML tags. We do not recommend editing the exported file with a text editor. Any changes you want to make to a policy ought to be done through the Administration Console.

To export an Authorization policy:

  1. In the Administration Console, click Access Manager > Policies.

  2. Select an Authorization policy, then click Export.

  3. (Optional) Modify the name suggested for the file.

  4. Click OK

  5. Using the features of your browser, specify where the file is copied.

To import a policy:

  1. Make sure any referenced Role policies have been imported.

    See Section 27.6, Importing and Exporting Role Policies.

  2. If the policy uses LDAP or Liberty Profile attributes, make sure the Identity Server has been configured for these same attributes.

  3. In the Administration Console, click Policies.

  4. Click Import, then browse to the location of the file.

  5. Click OK.

  6. When the policy appears in the list, click Apply Changes.