Thanks. I found a great reference to deployerConfigContext.xml in the cas-dev mailing list. http://www.mail-archive.com/[email protected]/msg00052.html
Does something like this exist on the website ? If not can it be added ? -Thanks Steve More On 10/30/06, Scott Battaglia <[EMAIL PROTECTED]> wrote: > Steve, > > You'll need to define a bean for your password encoder (we only include one > example: > org.jasig.cas.authentication.handler.Md5PasswordEncoder) > > Then your Jdbc AuthenticationHandler would define a new property: > <property > name="passwordEncoder" > ref="passwordEncoder" /> > > > -Scott > > > > On 10/30/06, Stephen More <[EMAIL PROTECTED] > wrote: > > Here is what I was missing: > > > > 1. Insert the following between the two beans: > > > > </list> > > </property> > > </bean> > > > > 2. copy the following into the lib > > commons-dbcp-1.2.1.jar > > commons-pool-1.2.jar > > commons-collections-3.1.jar > > > > > > Now I have it kind of working......How can I configure it to use > > something other than PlainTextPasswordTranslator ? > > > > -Thanks > > Steve More > > > > On 10/30/06, Stephen More <[EMAIL PROTECTED]> wrote: > > > No matter what I try, I keep getting: "No bean named 'dataSource' is > defined" > > > > > > 1. I copied cas-server-jdbc-3.0.5.jar into /webapps/cas/WEB-INF/lib > > > 2. I copied mysql-connector-java-3.1.13-bin.jar into > /webapps/cas/WEB-INF/lib > > > 3. edit deployerConfigContext.xml > > > > > > Add: > > > <bean > id="SearchModeSearchDatabaseAuthenticationHandler" > > > > class="org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHandler"> > > > <property name="tableUsers"> > > > <value>table_name</value> > > > </property> > > > <property name="fieldUser"> > > > <value>user_name_field</value> > > > </property> > > > <property name="fieldPassword"> > > > <value>password_field</value> > > > </property> > > > <property name="dataSource" ref="dataSource" /> > > > </bean> > > > > > > <bean id="dataSource" > class="org.apache.commons.dbcp.BasicDataSource"> > > > <property name="driverClassName"> > > > <value>com.mysql.jdbc.Driver</value> > > > </property> > > > <property name="url"> > > > > <value>jdbc:mysql://localhost/test</value> > > > </property> > > > <property name="username"> > > > <value>root</value> > > > </property> > > > <property name="password"> > > > <value></value> > > > </property> > > > </bean> > > > > > > What step am I missing ? > > > > > > -Thanks > > > Steve More > > > > > > > > > On 10/30/06, Scott Battaglia < [EMAIL PROTECTED]> wrote: > > > > We currently don't have detailed information that yet. If you have > any > > > > questions please feel free to ask on the list and we'll try and answer > them. > > > > (we can then possibly use that information to construct a guide). > > > > > > > > Thanks > > > > -Scott > > > > > > > > > > > > On 10/30/06, Stephen More < [EMAIL PROTECTED]> wrote: > > > > > > > > > > I see very detailed documents on how to setup "Using LDAP for > > > > > authentication". ( > > > > > > > > > > http://www.ja-sig.org/products/cas/server/ldapauthhandler/index.html > > > > ) > > > > > > > > > > Are there any documents that describe how to setup "Using JDBC for > > > > > authentication" ? > > > > > > > > > > > > > > > -Thanks > > > > > Steve More > > > > > _______________________________________________ > > > > > 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 > > > > > > > > > > > > > > > > > _______________________________________________ > > 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 > > > _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
