Announcement Announcement Module
No announcement yet.
Sharing login/SSO across multiple web apps Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Sharing login/SSO across multiple web apps

    Hi all,

    I have two web apps based on Spring MVC 3 and Spring Security. They are deployed on the same web server, under two different contexts of course:


    Each app will ask the user to login (which is fine) but what I need is for both apps to accept a login on the other app. In other words, if you log in to webapp1 and then access the url for webapp2, you should not be required to authenticate yourself again.

    I'm using a simple user service with users stored in a property file:

    <sec:user-service properties=""/>

    Is this possible, and if so what is the simplest way to achieve this. A hack would be ok, adding new stuff to the infrastructure (CAS server etc) is less ok.

    Any suggestions would be appreciated. I'm a bit stuck here.