setting a regular expression for password

I'm looking for a way to add the following regular expression : "^(?=.*[A-Za-z])(?=.*\d)[A-Za-z\d]{8,}$"

for password validation and i can't find a way to do it, can you point me to the corresponding bundle or a link ?

0 votes

0 answers

1937 views

ANSWER

Hi! I don't really know how Nuxeo would react, but I see this line here:

<userPasswordPattern>^[a-zA-Z0-9]{5,}$</userPasswordPattern>

There has to have a default userManager, so maybe you can override it with your regexp?

12/22/2015

Hi Greg Drayon ! Thank you , however i can see that even this default regex is not considered when entering a password
12/22/2015

Maybe this page can help. I don't know why, but it's been deleted (or maybe moved) for LTS2015, though.
12/23/2015