aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Problem with authentication Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem with authentication" Watch "Problem with authentication" New topic
Author

Problem with authentication

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: Problem with authentication