CAS DataBase Authentication

The following is what you need to do; to get your CAS server authenticate against Databases instead of default inMemory Authentication:-

  1. Copy the following (ommons-collections-3.2.jar, commons-dbcp-1.2.1.jar,commons-pool-1.3.jar) jars to your cas/web-inf/lib/
  2. Copy your DataBase driver (ojdbc14.jar) to cas/web-inf/lib/
  3. then edit your cas/web-inf/deployerConfigContext.xml to be as follows:
<?xml version="1.0" encoding="UTF-8"?>
    <bean id="authenticationManager"
        <property name="credentialsToPrincipalResolvers">
                <bean class="org.jasig.cas.authentication.principal.UsernamePasswordCredentialsToPrincipalResolver" />
                <bean class="org.jasig.cas.authentication.principal.HttpBasedServiceCredentialsToPrincipalResolver" />

        <property name="authenticationHandlers">
                <!--bean class="" />
                <bean class="org.acegisecurity.adapters.cas3.CasAuthenticationHandler">
                    <property name="authenticationManager" ref="acegiAuthenticationManager" />

                <bean id="SearchModeSearchDatabaseAuthenticationHandler"
                      abstract="false" singleton="true" lazy-init="default" autowire="default" dependency-check="default">
                    <property name="tableUsers">
                        <!-- USER_TABLE-->
                    <property name="fieldUser">
                        <!-- USERR_NAME Column Name -->
                      <property name="fieldPassword">
                           <!-- PASSWORD Column Name -->
                      <property name="dataSource" ref="dataSource" />
    <!-- the old inMemory Authentication -->
    <!--bean id="inMemoryDaoImpl" class="org.acegisecurity.userdetails.memory.InMemoryDaoImpl">
        <property name="userMap">
    <bean id="daoAuthenticationProvider" class="org.acegisecurity.providers.dao.DaoAuthenticationProvider">
        <property name="userDetailsService"><ref bean="inMemoryDaoImpl"/></property>

    <bean id="acegiAuthenticationManager" class="org.acegisecurity.providers.ProviderManager">
        <property name="providers">
                <ref bean="daoAuthenticationProvider"/>
    <bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource">
        <property name="driverClassName">
        <property name="url">
        <property name="username">
        <property name="password">


This helped me in some way.

This helped me in some way. Thanks for sharing what you know.

check out: buy youtube subscribers

This article is so bad,

This article is so bad, because I have no idea what I am reading right now. - Marla Ahlgrimm

 i dont understand about

 i dont understand about the languange

gamis syari murah

I'm now not sure the place

I'm now not sure the place you are getting your information, but good topic. I must spend a while finding out more or understanding more. Thank you for fantastic information I used to be searching for this info for my mission. Gebyar BolaAgen Ibcbet be taken into consideration.The appearance of accoutrements should be in band with your personality and taste.There is a array of handbags accessible in the market.The amount and superior alter a lot.You accept to be actual alert if selecting a absolute bag.Here are some tips to acquaint the difference.You can try

Powered by Drupal - Design by artinet