tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aurélien Allienne" <allie...@gmail.com>
Subject CAS Filter Authentification
Date Thu, 19 Apr 2007 13:26:28 GMT
Hi,

I'm using a CAS Filter to authenticate user in Tomcat Administration and
Manager.

But I have a problem. I accept the certificate but I am not redirected to
the CAS login page.

I have write this in the web.xml of the admin webapps :

<!-- CAS filter -->
  <filter>
      <filter-name>CAS Filter</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://auth.univ-lille2.fr/cas/login</param-value>
      </init-param>

      <init-param>
         <param-name>edu.yale.its.tp.cas.client.filter.validateUrl
</param-name>
         <param-value>https://auth.univ-lille2.fr/cas/serviceValidate
</param-value>
      </init-param>

      <!--init-param>
         <param-name>edu.yale.its.tp.cas.client.filter.authorizedProxy
</param-name>
         <param-value>https://portalserver/CasProxyServlet</param-value>
      </init-param-->

      <init-param>
         <param-name>edu.yale.its.tp.cas.client.filter.serverName
</param-name>
         <param-value>http://agenda.univ-lille2.fr:8080</param-value>
      </init-param>

      <init-param>
         <param-name>edu.yale.its.tp.cas.client.filter.wrapRequest
</param-name>
         <param-value>true</param-value>
      </init-param>
  </filter>

  <filter-mapping>
      <filter-name>CAS Filter</filter-name>
      <url-pattern>/*</url-pattern>
  </filter-mapping>


and i put casclient-2.1.1.jar in the WEB-INF/lib/

Where is the problem?

Cordially

Aurelien Allienne

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message