| Author |
Jboss login module - how to analysis exception
|
avihai marchiano
Ranch Hand
Joined: Jan 10, 2007
Posts: 342
|
|
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 - Code: 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?
|
 |
Jaikiran Pai
Marshal
Joined: Jul 20, 2005
Posts: 8142
|
|
|
Does the EJBAccessException wrap your LoginException?
|
[My Blog] [JavaRanch Journal]
|
 |
avihai marchiano
Ranch Hand
Joined: Jan 10, 2007
Posts: 342
|
|
No. I look in their sources and i think they throw new exception. dont know why.
|
 |
 |
|
|
subject: Jboss login module - how to analysis exception
|
|
|