Just found it out: UserDetailsService is an acegi interface not an appfuse one. So the connection is clear to me now. René
sumatran_rat_monkey wrote: > > Thanks Matt. > I guess I am able to change the SQL now. But I am still curious to know > how does Acegi know that it has to call the method loadUserByUsername? > There is no reference to loadByUsername in security.xml > > René > > > > mraible wrote: >> >> In 2.0, we use the userDao bean for Acegi's userDetailsService. So >> modifying it's annotations or the UserDao is probably the best way to >> configure this. >> >> Matt >> >> On 12/7/07, René Günther <[EMAIL PROTECTED]> wrote: >>> In appfuse 1.8 there was applicationContext-security.xml and one part of >>> it >>> was: >>> <bean id="jdbcAuthenticationDao" >>> class="net.sf.acegisecurity.providers.dao.jdbc.JdbcDaoImpl"> >>> <property name="dataSource"><ref bean="dataSource"/></property> >>> <property name="usersByUsernameQuery"> >>> >>> There I could change the login SQL. >>> How can I achieve that in appfuse 2? I searched through all files, I >>> checked >>> Acegi reference guide but I cant figure out where the login sql in >>> appfuse 2 >>> is hidden. >>> >>> Thanks >>> >>> René >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/user-login%3A-how-to-change-it-tf4960711s2369.html#a14209536 Sent from the AppFuse - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
