*
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
Similar Threads
Is CallBack Handler called by the same Thread that handles request?
Jboss login module issue, HTTP Status 403
CallbackHandler doesn't appear
CallbackHandler from a servlet request always uses same Thread as the one handling the request?
login twice