I'm a newby in jboss. I have deployed CAS server in tomcat in the host1 and configurate it with ldap. It works fine. I have a jboss-portal configurated with the same ldap too in the host2. Now I need to authenticate this jboss using CAS. I imported the self-signed certificate of cas in the cacerts of the host2. Added cas-client downloaded from here (http://repository.jboss.com/cas/3.0.7/lib/).
Modified the file $JBOSS_HOME/server/default/deploy/jboss-portal.sar/portal-server.war/WEB-INF/context.xml:
<Valve className="org.jboss.portal.identity.sso.cas.CASAuthenticationValve" casLogin="https://host1:8443/cas/login" casLogout="https://host1:8443/cas/logout" casValidate="https://host1:8443/cas/serviceValidate" casServerName="host2:443" authType="FORM" />
When I log in to the jboss-portal it redirects to CAS server login and then authenticate me with ldap user and successfully validate the service ticket. Then it redirects me to the login of the jboss-portal and not authenticate me directly to the jboss-portal. Can anyone help me please because i didn't find nothing useful in the net. Thanks a lot.