- Get link
- X
- Other Apps
- Get link
- X
- Other Apps
Usually when we create a user on our local it takes all type of passwords as there is no restriction to set a password.
But usually when you create a user on higher environment with a simple password like "admin" it gets created (without any error message), but after creating the user when you go ahead and find that user, then you see that your user does not exist.
This use case happens when there is a password restriction applied on your environment.
When you go to OSGI configuration on felix console, then go to Apache Jackrabbit Oak AuthorizableActionProvider. You need to check PasswordValidationAction Checkbox and add the regular expression in Configure PasswordValidationAction Password Constraint textbox.
Adobe's defined constraint :(?=.*\d.*)(?=.*[a-z].*)(?=.*[A-Z].*)(?=.*[@#%\*\-+=~\[\]{}<>\?].*).{12,}
This you can usually find on your higher environments. But you can go ahead and change the complexity anytime you want.
Hope this helps!!
Happy Coding 🙏
If you like my post and find it helpful, you can buy me a coffee.
Adobe Experience Manager
AEM
AEM 6.5
AEM as a Cloud Service
AEM SDK
AEMaaCS
password
password restriction
regex
users
- Get link
- X
- Other Apps
Comments
Insightful ⚡
ReplyDeleteThanks :)
DeleteNice!
ReplyDeleteThanks :) Do follow if you like this blog.
Delete