Dear fellows,
We're using AEM 6.5.5
I was trying to set password policy as community members suggested: using Apache Jackrabbit Oak Authorizable ActionProvider
http://www.sgaemsolutions.com/2019/10/how-to-set-password-policy-for-aem-users.html
This is my config, basically it's the same as the tutorial example:
However, after I saved the config and restarted AEM, I can still change user's password on touch UI without the constraint:
The user is not in administrator group if that matters, would like to know if I miss anything here?
Thanks for your help!
Solved! Go to Solution.
Views
Replies
Total Likes
Hi @YuSheng
I tried to reproduce this issue and I am not able to do that. If I am using following regular expression then I am not able to set password as "admin".
^(?=.*[A-Z].*[A-Z])(?=.*[!@#$&*])(?=.*[0-9].*[0-9])(?=.*[a-z].*[a-z].*[a-z]).{8}$
Successful: USeit21@
Failed: admin
Error reviewed while setting password as "admin"
ERROR Password violates password constraint (^(?=.*[A-Z].*[A-Z])(?=.*[!@#$&*])(?=.*[0-9].*[0-9])(?=.*[a-z].*[a-z].*[a-z]).{8}$).
Hi @YuSheng
I tried to reproduce this issue and I am not able to do that. If I am using following regular expression then I am not able to set password as "admin".
^(?=.*[A-Z].*[A-Z])(?=.*[!@#$&*])(?=.*[0-9].*[0-9])(?=.*[a-z].*[a-z].*[a-z]).{8}$
Successful: USeit21@
Failed: admin
Error reviewed while setting password as "admin"
ERROR Password violates password constraint (^(?=.*[A-Z].*[A-Z])(?=.*[!@#$&*])(?=.*[0-9].*[0-9])(?=.*[a-z].*[a-z].*[a-z]).{8}$).
Yes it works! shall work on modifying the regex seems some forms of it doesn't work here. Thank you very much!
Views
Like
Replies
Views
Likes
Replies
Views
Likes
Replies