This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes realm security authorize one attempt login Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "realm security authorize one attempt login" Watch "realm security authorize one attempt login" New topic
Author

realm security authorize one attempt login

hunter junior
Greenhorn

Joined: Jul 18, 2011
Posts: 2
Hello ,i'm using glassfish 3.1.1 with ejb 3.0 and a swing client and i have configured a jdbc realm for security purpose.
Everything work fine except one thing, if the user fail to log (wrong login or password) the login dialog is never showed again and the client send automatically the old login/password to the server .
How can i fix this ?
Thanks.
Udara Amarasinghe
Ranch Hand

Joined: Aug 17, 2009
Posts: 109

Hi Hunter,

What do you mean by "the server send automatically the old login/password to the server" ?.
Is that you mean after enter the wrong username/password, that your application allows user to access the secured components?
hunter junior
Greenhorn

Joined: Jul 18, 2011
Posts: 2
i mean that if i enter wrong login/password in the authentication dialog box the connexion is refused and if try again to call a protected EJB ,(without closing the application) the old login/passwrod are automatically used.
 
 
subject: realm security authorize one attempt login
 
Similar Threads
ejb security problem with isCallerInRole()
Java for log in authentication? (looking for tutorial that applies to situation)
WAS 4.0.3 Enabling security issue
How does the "j_security_check" work?
Single sign using windows credentials