Josh, As long as the JdbcTemplate is set it doesn't matter if the DataSource is set or not. By your lack of an error message it would seem that there is no problem with the datasource.
Could there be issues with case sensitivity towards the username or password? -Scott On 10/24/07, jashaffner <[EMAIL PROTECTED]> wrote: > > > --resent but with line breaks this time-- > > I want to authenticate users against a table in SQL Server database so I > followed the instructions per > http://www.ja-sig.org/wiki/display/CASUM/Using+JDBC+for+Authentication but > used jTDS driver instead. CAS started up w/o error. I am now figuring out > why I am getting this message, "The credentials you provided cannot be > determined to be authentic." I am now using eclipse debugger to walk thru > the code and monitor the variables. One thing I noticed is that the > dataSource variable is showing null while in > SearchModeSearchDatabaseAuthenticationHandler. Should it show at least > something else than null? > > This is what I have in deployerConfigContext.xml. I will continue to dig. > > ... > <property name="authenticationHandlers"> > <list> > .... > <bean > id="SearchModeSearchDatabaseAuthenticationHandler" > > class=" > org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHandler > "> > <property > name="tableUsers"><value>user_</value></property> > <property > name="fieldUser"><value>emailAddress</value></property> > <property > name="fieldPassword"><value>password_</value></property> > <property > name="dataSource" ref="dataSource" /> > </bean> > </list> > </property> > </bean> > > <bean id="dataSource" class=" > org.apache.commons.dbcp.BasicDataSource"> > <property > name="driverClassName"><value>net.sourceforge.jtds.jdbc.Driver > </value></property> > <property > name="url"><value>jdbc:jtds:sqlserver://myServer/joshua</value></property> > <property name="username"><value>portal</value></property> > <property name="password"><value>notTellingYou</value></property> > </bean> > -- > View this message in context: > http://www.nabble.com/dataSource%2C-jdbc%2C-jtds%2C-sql-server-tf4685261.html#a13388943 > Sent from the CAS Users mailing list archive at Nabble.com. > > _______________________________________________ > 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
