| Author |
Spring and Acegi
|
Christophe Verré
Marshal
Joined: Nov 24, 2005
Posts: 14361
|
|
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.
|
[SCBCD Wall of Fame] [My Blog]
All roads lead to JavaRanch
Help Japan. Make a donation.
|
 |
Christophe Verré
Marshal
Joined: Nov 24, 2005
Posts: 14361
|
|
Aaahh, never mind. This seems to be a error in the book, and the latest version of Acegi needs some more tweaking to make the sample work. For those interested : https://sandbox.manning.com/thread.jspa?threadID=11419&messageID=39502
|
 |
 |
|
|
subject: Spring and Acegi
|
|
|