Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

form-based authentication - logout

 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When using the container's form-based authentication to login, is there a method to logout? Or do you have to manually re-write the HTTP headers to clear the authentication?
 
Daniel Rhoades
Ranch Hand
Posts: 186
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Interesting... using tomcat just calling invalidate() on the session object did it... I didn't think it stored that info in the session object.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yep, that works in most Application servers. But not IBM Websphere
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic