Click HERE to see how Saviynt Intelligence is transforming the industry. |
07/10/2024 05:03 AM
I have a requirement to create a password policy that fulfills below criteria:
I am using below regex in password policy but while creating accounts it gives password verification failed. Can you please let me know the issue.
^(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*()-+=])(?!.*(.)\1)(?!.*(?:ab|bc|cd|de|ef|fg|gh|hi|ij|jk|kl|lm|mn|no|op|pq|qr|rs|st|tu|uv|vw|wx|xy|yz|AB|BC|CD|DE|EF|FG|GH|HI|IJ|JK|KL|LM|MN|NO|OP|PQ|QR|RS|ST|TU|UV|VW|WX|XY|YZ))(?=.{14,}$).*
07/10/2024 05:05 AM
Hi @ruchika , do you get this as a response when trying to create an account?
07/10/2024 05:10 AM
I get response as "Exception in create account query: Password verification for the specified password failed failed"
This is my createaccountjson in the connection:
{
"CreateAccountQry": "CALL SAVIYNT.USER_MGMT.CREATEUSER('${user.username}', '${randomPassword}', 'RQB')"
}
07/10/2024 06:11 AM
Which connector used here ?
07/10/2024 09:21 AM
{
"CreateAccountQry": "CALL SAVIYNT.USER_MGMT.CREATEUSER('${user.username}', '${password}', 'RQB')"
}
07/10/2024 06:14 AM
@ruchika instead of random password try password.
07/24/2024 03:19 AM
Received a limitation from Saviynt that regex above 255 characters is not allowed.
so tried using custom code in the creataccountjson as below but I am getting "error while parsing the account" error. Can someone please confirm if the syntax looks good or if any modifications has to be done.
{
"CreateAccountQry": "CALL SAVIYNT.user_mgmt.CreateUser('${user.username}','${com.mckesson.saviynt.GetPasswordRandom.PasswordGenerator.generatePassword()}', 'RDB')"
}
07/24/2024 09:20 AM
{
"CreateAccountQry": "CALL SAVIYNT.user_mgmt.CreateUser('${user.username}', '${com.mckesson.saviynt.GetPasswordRandom.PasswordGenerator.generatePassword()}', 'RDB')"
}