Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Log failed login attempts in CQ

Avatar

Level 2

hi all,

is there a configuration or log setting that allows to log whenever a user enters invalid credentials?

I am invoking the j_security_check mechanism, it seems that these requests are handeled outside of Sling so I cannot write a Filter.

I know that I could create a custom Login Module to do this, but I think there should be an easier option...

thanks for any help,

Ben

1 Accepted Solution

Avatar

Correct answer by
Level 10

Seems like you are writing sling filter which is called after authentication. Instead write a httpservicelevel filter example at [1].    Coming to original question which authentication handler configured in your instance? 

[1]  http://aemfaq.blogspot.com/2013/05/blocking-anonymous-access-to-crx-in-non.html

View solution in original post

1 Reply

Avatar

Correct answer by
Level 10

Seems like you are writing sling filter which is called after authentication. Instead write a httpservicelevel filter example at [1].    Coming to original question which authentication handler configured in your instance? 

[1]  http://aemfaq.blogspot.com/2013/05/blocking-anonymous-access-to-crx-in-non.html