Using the Undo Deprovisioning command
The Undo Deprovisioning command is available in both the Active Roles Console and Web Interface to those who are authorized to restore deprovisioned users or groups. By using this command, you start the Undo Deprovisioning operation on the objects you have selected, causing Active Roles to undo the results of deprovisioning on those objects.
To restore a deprovisioned user account
-
In the Active Roles Console, right-click the user account, and then click Undo Deprovisioning.
-
In the Password Options dialog, choose the options to apply to the password of the restored account, and then click OK.
For information about each option, open the Password Options dialog, and then press F1.
-
Wait while Active Roles restores the user account.
To restore a deprovisioned group
-
In the Active Roles Console, right-click the group, and then click Undo Deprovisioning.
-
Wait while Active Roles restores the group.
The operation progress and results are displayed in the Results of Undo Deprovisioning window, which is similar to the Deprovisioning Results window discussed earlier in this chapter. When the operation is completed, the window displays the operation summary, and allows you to examine operation results in detail.
Configuring policy extensions
Active Roles supports creating custom policies based on the Script Execution built-in Policy Type. However, creating and configuring a script policy from scratch can be time-consuming. Custom Policy Types provide a way to mitigate this overhead. Once a custom Policy Type is deployed that points to a particular script, administrators can easily configure and apply policies of that type, having those policies perform the actions determined by the script. The policy script also defines the policy parameters specific to the Policy Type.
Custom Policy Types provide an extensible mechanism for deploying custom policies. This feature is implemented by using the Policy Type object class. You can create Policy Types via the Active Roles Console, with each object representing a specific custom Policy Type.
For more details on policy extensions, see Concept: Policy extension with custom Policy Types in the Active Roles Feature Guide.
Creating and managing custom policy types
In Active Roles, you can use Policy Type objects to store the definition of a custom policy in a single object. You can also import and export Policy Type objects, which makes it easy to distribute custom policies to other environments.
For more information on managing custom Policy Types, see the following procedures:
Creating a Policy Type object
Active Roles stores Policy Type objects in the Policy Types container. You can access that container in the Active Roles Console by expanding the Configuration > Server Configuration branch of the Console tree.
To create a new Policy Type object
-
In the Console tree, under Configuration/Server Configuration/Policy Types, right-click the Policy Type container in which you want to create a new object, and select New > Policy Type.
For example, if you want to create a new object in the root container, right-click Policy Types.
-
In the New Object - Policy Type Wizard, type a name, a display name and, optionally, a description for the new object.
The display name and description are displayed on the page for selecting a policy, in the wizards that are used to configure Policy Objects.
-
Click Next.
-
Click Browse and select the Script Module containing the script that will be run by the policies of this policy type.
The Script Module must exist under the Configuration/Script Modules container and hold a policy script.
-
In the Policy Type category area, do one of the following:
-
Click Provisioning if policies of this type are intended for Policy Objects of the provisioning category.
-
Click Deprovisioning if policies of this type are intended for Policy Objects of the deprovisioning category.
The policy types that have the Provisioning option selected appear on the page for selecting a policy in the wizard that is used to create a provisioning Policy Object or to add policies to an existing provisioning Policy Object. The policy types that have the Deprovisioning option selected appear in the wizard for creating a deprovisioning Policy Object or adding policies to such a Policy Object.
-
From the Function to declare parameters list, select the name of the script function that defines the parameters specific to this type of administration policy.
The list contains the names of all the functions found in the script you selected in Step 4. Every policy of this type will have the parameters that are specified by the function you select from the Function to declare parameters list. Normally, this is a function named onInit.
-
Click Policy Type Icon to verify the image that denotes this type of policy. To choose a different image, click Change and open an icon file containing the image you want.
This image appears next to the display name of the policy type on the wizard page for selecting a policy to configure, to help identify and visually distinguish this policy type from the other policy types.
The image is stored in the Policy Type object. In the dialog that appears when you click Policy Type Icon, you can view the image that is currently used. To revert to the default image, click Use Default Icon. If the button is unavailable, then the default image is currently used.
-
Click Next and follow the steps in the wizard to complete the creation of the new Policy Type object.