Expand my Community achievements bar.

Enhance your AEM Assets & Boost Your Development: [AEM Gems | June 19, 2024] Improving the Developer Experience with New APIs and Events
SOLVED

Is there any OOTB feature in AEM to temporarily disable an account for a specific time on multiple wrong password attempts?

Avatar

Level 2

Need to know if there is any OOTB feature in AEM to lock an user account for say 30min if he/she enters wrong password for say 5 times.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

HI @VaishnaS1 

  I dont think there is OOTB feature for this but you can write custom solution for this

 

Something like this

Override /libs/granite/core/components/login/login.js

Create service to update /home/user/NODE for wrong attempts count, and after 2-3 wrong attemt,add timestamp also. And on login check if user already reached limit, show account lock message.

 

Hope this helps

View solution in original post

2 Replies

Avatar

Correct answer by
Community Advisor

HI @VaishnaS1 

  I dont think there is OOTB feature for this but you can write custom solution for this

 

Something like this

Override /libs/granite/core/components/login/login.js

Create service to update /home/user/NODE for wrong attempts count, and after 2-3 wrong attemt,add timestamp also. And on login check if user already reached limit, show account lock message.

 

Hope this helps

Avatar

Employee Advisor

AEM doesn't offer this functionality. But you can connect to other external Identitify Providers which offers such features.