This week's giveaway is in the Spring forum.
We're giving away four copies of Learn Spring Security (video course) and have Eugen Paraschiv on-line!
See this thread for details.
Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

logging all valid or invalid login attempts from LockOutRealm

 
Stefan Stahlhofen
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

i want to log in a log-file all (valid or invalid) attempts to log in with a LockOutRealm.
In the AccessLogValve i can only see users after a successful login.

Thanks

Stefan
 
Tim Holloway
Saloon Keeper
Pie
Posts: 17989
47
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the JavaRanch, Stefan!

There appears to be an mbean property that can be queried to obtain stats about failed users. I suspect that you can also find things in the URL access log, but I haven't checked.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic