This week's book giveaway is in the Jobs Discussion forum.
We're giving away four copies of Java Interview Guide and have Anthony DePalma on-line!
See this thread for details.
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 Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Problem with authentication" Watch "Problem with authentication" New topic

Problem with authentication

Alex Turbado

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:
subject: Problem with authentication
It's not a secret anymore!