You can implement a generating script if additional policies need to be used for generating a random password, which cannot be mapped with the available settings.
Public Sub CCC_PwdGenerate( policy As VI.DB.Passwords.PasswordPolicy, spwd As System.Security.SecureString)
With parameters:
policy = password policy object
spwd = generated password
|
TIP: To use a base object, take the property Entity of the PasswordPolicy class. |
The script replaces the invalid characters '?' and '!' in random passwords.
Public Sub CCC_PwdGenerate( policy As VI.DB.Passwords.PasswordPolicy, spwd As System.Security.SecureString)
Dim pwd = spwd.ToInsecureArray()
' replace invalid characters at first position
If pwd.Length>0
If pwd(0)="?" Or pwd(0)="!"
spwd.SetAt(0, CChar("_"))
End If
End If
End Sub
To use a custom script for generating a password
Select the category Manager | Basic configuration data | Password policies in the LDAP.
You can add words to a list of restricted terms to prohibit them from being used in passwords.
|
NOTE: The restricted list applies globally to all password policies. |
To add a term to the restricted list
Select the category Base Data | Security Settings | Restricted passwords in the Designer.
When you test a password, all the password policy settings, custom scripts and the restricted passwords are taken into account.
To test whether a password conforms to the password policy
Select the category Manager | Basic configuration data | Password policies in the LDAP.
Enter a password in Enter password to test.
A display next to the password shows whether it is valid or not.
When you generate a password, all the password policy settings, custom scripts and the restricted passwords are taken into account.
To generate a password that conforms to the password policy
Select the category Manager | Basic configuration data | Password policies in the LDAP.
Click Generate.
This generates and displays a password.
© 2023 One Identity LLC. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy