grailsspring-securityjosso

Two grails app both using springSecurity, login once to access both


I have an old grails application (ex. one-app) that has springSecurity for logins. I created a new grails app (two-app) that uses multiple databases (the DB from one-app and a new one). I am deploying both using tomcat

ip.addr.10.10/one-app
ip.addr.10.10/two-app

My question is: I want to have access to both applications by logging in only once. Basically if the user logs in on either application, he would also have access to the other application without logging in again.

Is this possible? Thanks.


Solution

  • Yes, it is possible. You need to use SSO. Currently I use JOSSO for my grails applications (http://www.josso.org) combined with Spring Security.