Example with jdbc and sha1:
        <bean id="authenticationManager"
               
class="org.jasig.cas.authentication.AuthenticationManagerImpl">
                <property name="authenticationHandlers">
                        <list>
                                        <bean
id="SearchModeSearchDatabaseAuthenticationHandler"
                                               
class="org.jasig.cas.adaptors.jdbc.SearchModeSearchDatabaseAuthenticationHandler"
                                                abstract="false"
lazy-init="default" autowire="default" dependency-check="default">
                                                <property name="tableUsers">
                                                       
<value>accounts</value>
                                                </property>
                                                <property name="fieldUser">
                                                        <value>uid</value>
                                                </property>
                                                <property
name="fieldPassword">
                                                       
<value>userPassword</value>
                                                </property>
                                                <property
name="dataSource" ref="dataSource" />
                                                <property
name="passwordEncoder">
                                                        <bean
class="org.jasig.cas.authentication.handler.DefaultPasswordEncoder">
                                                               
<constructor-arg value="SHA1" />
                                                        </bean>
                                                </property>
                                        </bean>
                        </list>
                </property>
        </bean>

nidudhodi udayakumar wrote:
> Hi,
>  
> I am using cas3.1 server can any one help in handling encrypted passwords.
>  
> Regards,
> uday
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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

Reply via email to