By: Md Mahabub Alam user 15 Nov 2019 at 2:50 a.m. CST

4 Responses
Md Mahabub Alam gravatar
I was trying to add custom validation in gluu 3.1.4 docker edition from /identity/attribute/update for password field. I added ^(?=.[a-z])(?=.[A-Z])(?=.\d)(?=.[@$!%#?&])[A-Za-z\d@$!#%?&]{8,20}$ in regex pattern and checked the enable custom validation for this attribute option. But after this changes when I tried to update password or add people from Users section or password for exisitng user it's not validating the the regex. Let me know if you need more info.

By Isman Firmansyah staff 15 Nov 2019 at 12:06 p.m. CST

Isman Firmansyah gravatar
Hello, Have you tried the pattern ``` ^(?=.[a-z])(?=.[A-Z])(?=.\d)(?=.[@$!%#?&])[A-Za-z\d@$!#%?&]{8,20}$ ``` in another tool, i.e. online regex validator? Best regards,

By Md Mahabub Alam user 20 Nov 2019 at 4:54 a.m. CST

Md Mahabub Alam gravatar
@Isman.Firmansyah Yes, I tried , I also tried with basic regex validation in gluu for a field .. it didn't work

By Isman Firmansyah staff 20 Nov 2019 at 7:01 a.m. CST

Isman Firmansyah gravatar
Could you show me the basic regex pattern you're using?

By Isman Firmansyah staff 29 Nov 2019 at 11:41 p.m. CST

Isman Firmansyah gravatar
You can upgrade to Gluu Server v3.1.6 to get regex validation feature. Closing this issue.