Hi there,

I'm new to CAS. I have been able to download/install and get CAS to work.
Now I am ready for the next step. I have a Progress OpenEdge database with
username and password fields in a user table. The password field stores the
MD5 hash of the textual password.

Firstly, I would like to write a custom Authentication Handler that would
take the user credentials and compare it against the database.
Secondly, how would I then integrate this custom Authentication Handler into
CAS?

I have read the documentation on
http://www.ja-sig.org/wiki/display/CASUM/Home and http://www.ja-sig.org/ but
I am unable to figure out how to about accomplishing this. Probably there
are multiple ways of getting this done. Can someone please point me in the
right direction.

Thanks much for your time.

Regards,
Kristin.

PS: Here are a few things I've done successfully.

I am using Tomcat 5.5.17 running on Apache Webserver 2.0.54.
1. I have downloaded cas-server-3.1 and cas-client-java-2.1.1. Copied the
cas.war file to Tomcat/webapps and copied casclient.jar to
Tomcat\webapps\jsp-examples\WEB-INF\lib.
2. Edited Tomcat\webapps\jsp-examples\WEB-INF\web.xml as follows
  <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://kristin/cas/login</param-value>
    </init-param>
    <init-param>
      <param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>
      <param-value>https://kristin/cas/proxyValidate</param-value>
    </init-param>
    <init-param>
      <param-name>edu.yale.its.tp.cas.client.filter.serverName</param-name>
      <param-value>kristin</param-value>
    </init-param>
  </filter>

  <filter-mapping>
    <filter-name>CAS Filter</filter-name>
    <url-pattern>/*</url-pattern>
  </filter-mapping>
3. Followed the instructions in
http://www.ja-sig.org/products/cas/server/ssl/index.html to solve the SSL
issues.
4. Created customized views using
http://www.ja-sig.org/products/cas/server/views/index.html

The result is, when I access any jsp page (in the jsp-examples directory)
for the first time, I am being prompted for credentials. If I enter the same
username and password, CAS rightly redirects me to the jsp page. In short
CAS works for me!
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to