Hi all,
I use JBoss 4.2.0.
I have an ear which contains several war.
And I want to activate SSO between the multiple webapps.
I read some posts on the forum and some interresting links such as the wiki post about SSO : http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn
I made several changes in my configuration in order to activate SSO but I can't find a way to make it work.
- I activated the SSO Valve in jboss-web.deployer/server.xml by adding this line :
< Valve className="org.jboss.web.tomcat.tc4.authenticator.SingleSignOn" debug="2"/ >
<application-policy name = "Djoukit"> <authentication> <login-module code = "com.djoukit.composant.securite.authentification.spi.DataBaseLoginModule" flag = "required"> <module-option name = "dsJndiName">java:/PostgreSqlDS</module-option> </login-module> </authentication> </application-policy>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE jboss-web PUBLIC "-//JBoss//DTD Web Application 2.2//EN" "jboss-web_2_2.dtd" > <jboss-web> <security-domain>java:/jaas/Djoukit</security-domain> </jboss-web>