-
Jul 25th, 2012, 10:45 PM
#1
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
-
Jul 25th, 2012, 10:45 PM
#2
-
Jul 26th, 2012, 09:14 AM
#3
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.
-
Jul 27th, 2012, 08:08 AM
#4
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
-
Forum Rules