I’m using acegi security in Grails. Is there a way to log a failed login attempt as info or warning so:
ERROR springsecurity.GrailsDaoImpl – User not found: XXXXXX
is logged as required ?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can register listeners for security events, check for the failed login event
http://grails.org/AcegiSecurity+Plugin+-+Acegi+Events
Or you can register call back closures that are called when the events are triggered