Results 1 to 4 of 4

Thread: Logging out a user from a different application.. Spring Security

  1. #1

    Default Logging out a user from a different application.. Spring Security

    Hi All,

    I have two separate web applications X & Y deployed on two separate sites.. Y takes care of credit card processing and X takes care of remaining functionality..

    Usecase: If A would like to purchase a subscription, he does following things

    (i) A logs into X

    (ii) A adds a subscription

    (iii) After adding the subscription, he logs into Y and adds his credit card information

    (iv) He comes back to X and pays for it..

    Now my question here is, how to manually logout A from Y when he is in X..? In crude terms, how to do a logout of a user from other application?

    I did confiure session invalidation period for Y and I am using logout filter in Y also..

    I am using Spring Security, Hibernate, Spring, Spring MVC.. in both X & Y..

    Thanks,
    Vivekanand Alampally

  2. #2

  3. #3
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    It seems a bit unconventional to have the user login twice and then logout once. Most likely what you are looking for is a Single Sign On protocol that supports Single Logout as well. A few examples that come to mind are CAS and SAML.
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

  4. #4

    Default

    Thanks Rob.. I am going through some articles on solving this.. I will get back.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •