This note describes the customizations necessary to use 2 or more security questions for the following OpenIDM features: user self-registration, change security data and forgot password. Please note that this article was originally written for v3.0.
Add the new user profile attributes under allowed properties.
./samples/sampleSelfReg/script/access.js
Add policies to the newly added security question and answer attributes.
./samples/sampleSelfReg/conf/policy.json
Include the security answer as a managed object.
./samples/sampleSelfReg/conf/managed.json
./ui/default/enduser/public/templates/user/UserRegistrationTemplate.html
Edit the template to include another security question as shown here:
If you want questions pre-selected when viewing the registration page, add this script to the page:
<script>
endpoint security download mac endpoint security by bitdefender blocked this pageTAGS
CATEGORIES