0 Replies Latest reply on Jan 27, 2011 9:55 AM by fabrizi_valentina

    ** URGENT HELP ** CAS & JBoss 4.2.2 Configuration ** URGENT HELP **

    fabrizi_valentina

      Hi all!

       

      I'm in troubles!!!

      I need a Single Sign On for two different web application.

      So...I'm trying to install and configure the CAS Single Sign On....but I'm so confused :-(

       

      I installed the CAS server on remote Tomcat instance and if I call https://tomcatRemoteInstance:8443/cas URL I enable to view the CAS initial page.

      Now...I have to configure my two web-app for SSO....I configured a filter into web.xml like this:

      [CODE]

      <filter>
        <filter-name>CASFilter</filter-name>
        <filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>
        <init-param>
         <param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>
         <param-value>https://tomcatRemoteInstance:8443/cas/login</param-value>
        </init-param>
        <init-param>
         <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
         <param-value>https://tomcatRemoteInstance:8443/cas/serviceValidate</param-value>
        </init-param>
        <init-param>
         <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
         <param-value>tomcatRemoteInstance</param-value>
        </init-param>
      </filter>

       

      <filter-mapping>
        <filter-name>CASFilter</filter-name>
        <url-pattern>/homepage/*</url-pattern>
      </filter-mapping>

      [/CODE]

       

      When I call my web-app the filter doesn't work....why?

      What have I do on JBoss instances to work on CAS client?

      I don't understanding this....

       

      Please...HELP ME!!!!

       

      Thanks in advance for suggestions!!!

       

      Cheers, Vale