File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Glassfish and the fly likes CallbackHandler doesn't appear Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Glassfish
Bookmark "CallbackHandler doesn Watch "CallbackHandler doesn New topic
Author

CallbackHandler doesn't appear

Alex Turbado
Greenhorn

Joined: Dec 24, 2012
Posts: 14
Hi all!

I'm developing an application client that connects to EJBs in a remote Glassfish server. When the application invokes a remote, protected method of an EJB, my custom CallbackHandler appears to collect the user's credentials and send them back to the server.

The problem is that if the user introduces wrong credentials, next calls to a protected method don't invoke the CallbackHandler again, and a security exception is thrown.

Any idea for getting the CallbackHandler again??
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: CallbackHandler doesn't appear
 
Similar Threads
CallbackHandler from a servlet request always uses same Thread as the one handling the request?
Jboss login module issue, HTTP Status 403
Is CallBack Handler called by the same Thread that handles request?
EJB Security: Not getting correct name in Principal
JBoss 5.1.0 GA. FORM based authentication