I am trying to configure acegi security on top of a web- application in which the passwords are already entered manually in the MYSQL db. Without using any passwordencoding also, the authentication fails , though correct password is entered. also, is the enabled column mandatory in the authoritiesByUsernameQuery.
pl. see the following. i have commented teh passwordencoder and in the usersByUsernameQuery I have given enabled as true as there is no column called enabled in the db.Is this the right way to configure!
Pl. let me know why authentication is failing always! also how to set up logging in case of acegi errors in tomcat?
part of applicationcontext-acegisecurity.xml <!-- bean id="passwordEncoder" class="net.sf.acegisecurity.providers.encoding.Pla intextPasswordEncoder"/ -->