Updating and deploying the dynamic.attributes.js file
To implement the dynamic.attributes.js file on the appliance, update the file and then deploy the change.
Before you begin
- Code the dynamic.attributes.js file to create the customizations we require.
- To use a custom attribute in a policy, create the attribute. See Manage attributes.
We 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, use the attribute we created in the rule section of a policy. See Create an access control policy.
Steps
- Log in to the local management interface.
- Click AAC.
- Under Global Settings, click Template Files.
- Locate the existing dynamic.attributes.js file in the C/ac/javascript_rules directory.
- 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 we created. Click Save.
- Click Manage > Import to import the script file we 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.
- Deploy the changes.
Parent topic: Dynamic attributes