8.3.2. Configure the Cookie Domain
To enable your SSO valve to share a SSO context, configure the cookie domain in the valve configuration. The following configuration would allow applications on
http://app2.xyz.comto share an SSO context, even if these applications run on different servers in a cluster or the virtual host with which they are associated has multiple aliases.
Example 8.4. Example Cookie Domain Configuration
<Valve className="org.jboss.web.tomcat.service.sso.ClusteredSingleSignOn" cookieDomain="xyz.com" />