I'm trying to override the authorities by username query and mapping in
a JdbcDaoImpl.  JdbcDaoImpl extends JdbcDaoSupport which implements
IntiliazingBean and defines a final afterPropertiesSet method which
calls initDao().  Here's the cod from JdbcDaoImpl:

protected void initDao() throws ApplicationContextException {
    initMappingSqlQueries();
}

/**
 * Extension point to allow other MappingSqlQuery objects to be
substituted
 * in a subclass
 */
protected void initMappingSqlQueries() {
    setUsersByUsernameMapping(new
UsersByUsernameMapping(getDataSource()));
    setAuthoritiesByUsernameMapping(new AuthoritiesByUsernameMapping(
            getDataSource()));
    }


Am I correct that this will effectively override any property config
that you might have done in Spring?


- Dave



-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
Home: http://acegisecurity.sourceforge.net
Acegisecurity-developer mailing list
Acegisecurity-developer@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer

Reply via email to