realm security authorize one attempt login

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.

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

posted Jul 19, 2011 04:49:26

0

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.