aspose file tools*
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
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.
 
jQuery in Action, 2nd edition
 
subject: realm security authorize one attempt login