How to use Policy Xpress to set random user passwords during a bulk upload
search cancel

How to use Policy Xpress to set random user passwords during a bulk upload

book

Article ID: 12996

calendar_today

Updated On:

Products

CA Identity Manager CA Identity Governance CA Identity Portal CA Risk Analytics CA Secure Cloud SaaS - Arcot A-OK (WebFort) CLOUDMINDER ADVANCED AUTHENTICATION CA Secure Cloud SaaS - Advanced Authentication CA Secure Cloud SaaS - Identity Management CA Secure Cloud SaaS - Single Sign On

Issue/Introduction



How can Policy Xpress be used to generate random user passwords, and set them on users during a bulk upload via the Bulk Loader task or the Bulk Load Client?

Environment

Release:
Component: IDMGR

Resolution

1. Create a PX policy of type UI - this is needed when working with user passwords.

2. On the Events tab, configure the policy to run on "Set subject" for the desired event, e.g. "Reset User Password", so that all required values are set when submitting the task.

3. Add a Data element to generate an 8-character random string as a data element, with Category=General, Type=Random Value Generator, and Function=Random String.  Configure the required Length of the string in the data element.

4. Add an Action Rule which sets the value of the Data element for userPassword and |passwordConfirm| in the policy action.

5. Do not include the userPassword and |passwordConfirm| attributes in the input file as the PX policy will handle adding them.