posted 17 years ago
I'm trying to use Acegi in Spring, but there's something I can't figure out.
I'm actually referring to Spring In Action, and it says that there's a way to customize the usersByUsernameMapping property of JdbcDaoImpl.
In the example, there is :
I can't figure out where this usersByUsernameQuery variable comes from. I set it in my JdbcDaoImpl bean, but can't understand how to access it from the custom MappingSqlQuery.
PS: I'm actually using the latest version of Acegi. Quite a lot of changes compared to the version used in the book. For those who own the book, I'm talking about listing 11.1, page 378.