wood burning stoves 2.0*
The moose likes Tomcat and the fly likes de-authenticate 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 » Products » Tomcat
Bookmark "de-authenticate" Watch "de-authenticate" New topic


Benjamin Hundley
Ranch Hand

Joined: Mar 06, 2006
Posts: 53
I'm using Tomcat 5.5 for my web application. I have a login link and I told tomcat to authenticate the request sent by the login link via the deployment descriptor. The problem is that now I don't know how to log a user out. Is there a way to de-authenticate a client?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 41015
If you're talking about BASIC authentication -the kind where you enter username/password into a little dialog box popped open by the browser- then this is not possible. Once the browser knows it, it will always send it, until you quit it.

Ping & DNS - my free Android networking tools app
It is sorta covered in the JavaRanch Style Guide.
subject: de-authenticate
Similar Threads
can't add database control
Tomcat and LDAP.
How to configure Tomcat for authentication against Active Directory of Windows Server 2003
Filter not triggerring for applications outside webapps
Enabling SSO in J2EE application