These resources may help you: http://www.ja-sig.org/products/cas/server/ldapauthhandler/index.html http://developer.ja-sig.org/projects/cas/multiproject/cas-server-ldap/apidocs/index.html http://developer.ja-sig.org/test/cas.html#ldap
Note that they are slightly out of date as they refer to the LdapTemplate project instead of the Spring LDAP project (we're working on updating this). The Spring LDAP Javadocs can be found here: http://www.springframework.org/ldap -Scott On 1/26/07, t ray <[EMAIL PROTECTED]> wrote:
Digging a bit more, I found this- http://developer.ja-sig.org/source/viewrep/jasig/cas3/adaptors/ldap/src/main/resources/deployerConfigContext.xml?r=1.1 It is a deployerConfigContext.xml file that uses BindLdapAuthenticationHandler. Can someone tell me if using FastBindLdapAuthenticationHandler is similar, meaning, can I just replace BindLdapAuthenticationHandler with FastBindLdapAuthenticationHandler? Also, can someone point me to some description of the various properties that are allowed? Most of them in the link above seem straight forward. I am not sure about "authenticatedReadOnly" (what does it mean?) and those under baseEnvironmentProperties. Specifically, where the protocol is marked "ssl", does it mean that ssl is being used to communicate with Active Directory or is the password still being sent in clear text? For those wishing to use AD purely for authentication purposes and not for some reason interested in the fastbind adaptor, you may also find the following interesting- http://forum.java.sun.com/thread.jspa?threadID=726601&tstart=0 Thanks, Ray. ----- Original Message ---- From: t ray <[EMAIL PROTECTED]> To: CAS Mailing List <[email protected]> Sent: Thursday, January 25, 2007 4:32:32 PM Subject: How to use LDAP adaptor classes? I wish to authenticate by querying an Active Directory server. I have modified deployerConfigContext.xml and have replaced the SimpleTest authenticator with my own. However, I am not sure how to use the LDAP adaptor classes that seem to be provided in the adaptors/ldap directory. I assume these classes help in connecting to a LDAP server and querying it. Could someone point me to some references/resources that describe how to use these adaptor classes/how to connect to a LDAP server? Thanks. Ray. ------------------------------ Bored stiff? <http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>Loosen up... Download and play hundreds of games for free<http://us.rd.yahoo.com/evt=49935/*http://games.yahoo.com>on Yahoo! Games. _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas ------------------------------ Get your own web address.<http://us.rd.yahoo.com/evt=49678/*http://smallbusiness.yahoo.com/domains/?p=BESTDEAL> Have a HUGE year through Yahoo! Small Business. _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
_______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
