This content has been marked as final.
Show 1 reply
-
1. Re: Sharing security context between 2 web applications
gutoconde Apr 18, 2011 11:17 AM (in response to gutoconde)I set the security-domain in jboss-web.xml, for both applications :
<jboss-web> <class-loading java2ClassLoadingCompliance="false"> <loader-repository> seam.jboss.org:loader=ativa <loader-repository-config>java2ParentDelegation=false</loader-repository-config> </loader-repository> </class-loading> <security-domain>java:/jaas/ativaDomain</security-domain> </jboss-web>
And finaly, I´m using the SingleSignOn Valve, configured in deploy\jbossweb.sar\server.xml.
<Valve className="org.apache.catalina.authenticator.SingleSignOn"/>
With all this configuration, I can login in the first application, but when I try to acces the second application (the image repository) the application show me the browser login page, requesting username and password.
I´ve tried to put the jmx-console application using my LoginModule configuration and the SSO works fine with the image repositoty application. It doesnt work with the first application.
Is there something wrong? Or Jboss Seam doesnt work with the SSO Valve?
Thanx and sorry for my bad english,
Jose Augusto Conde
Brasilia / Brazil