Updating and deploying the dynamic.attributes.js file

To implement the dynamic.attributes.js file on your appliance, update the file and then deploy the change.

Before you begin

  • Code the dynamic.attributes.js file to create the customizations you require.
  • To use a custom attribute in a policy, create the attribute. See Managing attributes.

    You must set the following properties in the local management interface for the custom attribute:

    • Specify a name for the attribute.
    • Issuer: urn:ibm:security:issuer:AttributeSession
    • Category: Environment
    • Type: Policy
    • Storage Domain: Session

    Then, you must use the attribute you created in the rule section of a policy. See Creating an access control policy.

Procedure

  1. Log in to the local management interface.
  2. Click AAC.
  3. Under Global Settings, click Template Files.
  4. Locate the existing dynamic.attributes.js file in the C/ac/javascript_rules directory.
  5. Select the dynamic.attributes.js file to edit or import:
    • Click Manage > Edit to update the existing file in an editing window by using copy and paste from the file you created. Click Save.
    • Click Manage > Import to import the script file you created and replace the existing file. Click Browse to select the location of the file, and click Import to replace the existing dynamic.attributes.js file.
  6. Deploy the changes.