Kristin, I'm off to a meeting so I hope to be able to respond more, but to give you a head start, have you looked at: http://www.ja-sig.org/wiki/display/CASUM/JDBC
We have pre-built JDBC authentication handlers for connecting to databases. They accept custom Password Encoders (we have one implementation that I don't have a link to right now). Take a look at them and see if they will help you. -Scott On 10/30/07, Kristin Coles <[EMAIL PROTECTED]> wrote: > > 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 > > -- -Scott Battaglia LinkedIn: http://www.linkedin.com/in/scottbattaglia
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
