wood burning stoves 2.0*
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 Android Security Essentials Live Lessons this week in the Android 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.
 
Don't get me started about those stupid light bulbs.
 
subject: realm security authorize one attempt login
 
Similar Threads
Single sign using windows credentials
How does the "j_security_check" work?
ejb security problem with isCallerInRole()
Java for log in authentication? (looking for tutorial that applies to situation)
WAS 4.0.3 Enabling security issue