[jcifs] Alternating Users

Anderson Miranda anderson.smiranda at gmail.com
Fri Apr 8 21:46:38 GMT 2005


I'm using jCIFS v1.1.4 with Tomcat5, running an Webapp "X" that does
transparent authentication of users through the web browser (IE).
Everything works great, and I'm pleased to say so!

How it works? An arbitrary user logs on his windows on his workstation
over his company, opens the browser, access my webapp
"http://server/webapp" and then he is "automatically" authenticated
through the NTLM filter. When the same webapp is accessed outside the
domain (with an user NOT authenticated over the domain), an dialog box
appears for the user to enter his domain credentials... PERFECT!

Now the sad portion: I need to put a link/button/form/page, anything
that could help me to alternate the current logged user. Something
that could "logoff" the current user from my webapp, destroy the
session, and log a new user, without having to actually "logoff the
user from the windows"... Does anyone knows how could I do that?...
Could someone gimme a light about this??

Sorry If I didn't make myself clear... My english isn't that good!  =>

Hope someone can help me out!
Thanks in advance!

Anderson Miranda

More information about the jcifs mailing list