Hello guys,
I'm trying to configure the jboss (i have in production a 4.0.5) to have a unique JSESSIONID cookie for two hosts in the same domain.
i have something like this http://app1.zxy.com and http://app2.zxy.com and what i need is that both of them have a "zxy.com" cookie for the JSESSIONID.
i found this in the jboss wiki: http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn
i try to use this line:
<Valve className="org.apache.catalina.authenticator.SingleSignOn" cookieDomain="xyz.com"/>
<Host name="app1.xyz.com" autoDeploy="false" deployOnStartup="false" deployXML="false" configClass="org.jboss.web.tomcat.security.config.JBossContextConfig"> <Valve className="org.apache.catalina.authenticator.SingleSignOn" cookieDomain="xyz.com" /> </Host>
<Engine name="jboss.web" defaultHost="localhost">