Re: [cas-user] Password does not match the password policy requirement.

2022-08-30 Thread Vincent Weber
I respond to myself to help other people in the future. In passwordMeter.js, policyPattern is used as a string in : var policyPatternRegex = new RegExp(policyPattern); So we need to double escape the "\", in my case it will be : ^(?=.{12,}$)(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*\\W).*$ (which

Re: [cas-user] Password does not match the password policy requirement.

2022-08-24 Thread Vincent Weber
Hello, Did you find the solution ? I have the same problem with this configuration : cas.authn.pm.core.policy-pattern=^(?=.{12,}$)(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])(?=.*\W).*$ On CAS 6.5.7. When I try to reset the password, it is never "OK" with my password, even if it respect the regexp. Le mard

Re: [cas-user] Password does not match the password policy requirement.

2022-03-15 Thread stonej
I did upgrade from 6.5.0 but have updated the policy pattern to : cas.authn.pm.core.password-policy-pattern=^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[$@$!%*?&])[A-Za-z\d$@$!%*?&]{8,20} Also having issues with emailing from password management, but may have to log that as a seperate query Thanks On

Re: [cas-user] Password does not match the password policy requirement.

2022-03-15 Thread Łukasz Woźniak
You've upgrade or have new fresh version? I've got similar problem but I'm upgrading instance from 6.3.7. And there was change in the template and policyPattern was null, because it was changed to passwordPolicyPattern. Check the template if You override it. wt., 15 mar 2022 o 00:25 stonej napisa