[jboss-user] [Security & JAAS/JBoss] - Jboss login module - how to analysis exception

avihaimar do-not-reply at jboss.com
Wed Apr 30 11:54:36 EDT 2008


Hey,

I have a java client that work against stateless facade , deployed in jboss4.2.

i write a custom login module and in some cases i throw exception like this this  -
 throw new LoginException("was failed due to expired password");

The problem that in the client i dont get the exception i throw.
i get - EJBAccessException instead of the exception i throw.

so in the client i dont know waht is the reason that authetication was failed.

Any solution please?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147909#4147909

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147909



More information about the jboss-user mailing list