Tomcat SSO by Subdomain

I have a tomcat server serving several web applications. They use Tomcat SSO to seamlessly log into the user’s system. However, this does not work if the applications have different subdomains.

Is there a way to make tomcat SSO work with all applications located on the same server, but be served in different subdomains.

thank

+3
source share
2 answers

Try setting the attribute cookieDomainin one signal valve (see http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Single_Sign_On_Valve ) in the common root domain and see if this works: if you try to execute a single logging on a.example.com and b.example.com, try setting the SSO cookie on example.com or .example.com.

+2
source

If you are in a corporate environment, you can use Kerberos to perform single sign-on across domains.

0
source

All Articles