LoginException is thrown when the authentication fails (one of them being invalid
password). Yes, you can implement your use case of checking the number of attempts when
LoginException is thrown. But remember that there might be various other reasons why the
LoginException is thrown.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3990912#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...