Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Can logout be implemented?

 
Steffen Foldager
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Using Tomcat's security feature, how can I change or delete the user credentials without closing the browser window?
In other words: Is there any way at all to implement a logout?
Thanks,
Steffen
 
Steffen Foldager
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Come on, guys...
I can't figure out whether this question is really stupid, really tricky or if I overlooked something obvious.
Is the following statement true then?
"The only way to implement a logout using J2EE authentication in Tomcat is by forcing the browser to close"
If yes, then the J2EE authentication really is of no practical use (which I don't hope..)
Somebody help me, please
 
smercmu
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Steffen Foldager:
Come on, guys...
I can't figure out whether this question is really stupid, really tricky or if I overlooked something obvious.
Is the following statement true then?
"The only way to implement a logout using J2EE authentication in Tomcat is by forcing the browser to close"
If yes, then the J2EE authentication really is of no practical use (which I don't hope..)
Somebody help me, please


I've been looking into that recently too. The login credentials are held by the browser (ie in my case) and you have to tell the browser to reset or clear those cached credentials. I found an activeX component that does it for IE. figures... but I have yet to see any javascript that would do it.
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have the same question.
How to implement signoff without closing browser?
I am using apache/tomcat builtin authentication.
Thanks.
 
Tom Wolve
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I'm still testing but invalidating the session
so far works fine.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic