How to logout from Tomcat using Spring and JAAS form based authentication?

Discussion in 'Java' started by voorth, Nov 7, 2006.

  1. voorth

    voorth Guest

    I've written a JAAS LoginModule to handle authentication. Login works
    exactly as I expected, but there seems to be no way to logout again.
    I'm using Form Based Authentication.

    Searching the web seems to tell me that I need to use Tomcats
    LoginContext.logout() for that, but I have been unable to find a way to
    access the LoginContext from Spring.

    Any pointer would be appreciated.

    Henk van Voorthuijsen
     
    voorth, Nov 7, 2006
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. =?Utf-8?B?dmE=?=

    RE: Logout status doesn't really logout?

    =?Utf-8?B?dmE=?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    710
    =?Utf-8?B?dmE=?=
    Mar 26, 2006
  2. =?Utf-8?B?RFdT?=

    RE: Logout status doesn't really logout?

    =?Utf-8?B?RFdT?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    0
    Views:
    685
    =?Utf-8?B?RFdT?=
    Mar 26, 2006
  3. =?Utf-8?B?dmE=?=

    Logout status doesn't really logout?

    =?Utf-8?B?dmE=?=, Mar 26, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    804
    =?Utf-8?B?dmE=?=
    Mar 26, 2006
  4. rmn190
    Replies:
    2
    Views:
    2,711
    Arne Vajhøj
    Jan 10, 2008
  5. Demian Brecht
    Replies:
    0
    Views:
    134
    Demian Brecht
    Jun 7, 2014
Loading...

Share This Page