- 
        1. Re: Baffled using DatabaseServerLoginModulestarksm64 May 3, 2004 11:53 AM (in response to fenilya)See if you can get anymore info out of the logs by setting the org.jboss.security category to TRACE level in the conf/log4j.xml file: <category name="org.jboss.security"> <priority value="TRACE" class="org.jboss.logging.XLevel"/> </category> 
- 
        2. Re: Baffled using DatabaseServerLoginModulefenilya May 3, 2004 4:46 PM (in response to fenilya)Thanks Scott for your suggestion. I see in the logs that indeed the prepared statement is : 
 select passwd from users where login=?
 And the applied username is indeed the username I used (alex).
 Also I see the following debug line:
 23:18:22,864 DEBUG [DatabaseServerLoginModule] Bad password for username=alex
 However, I wish I could see what password jboss is trying to match and what password he has retrieved, but I cant see that :(
 Maybe I'll try remote debugging.
- 
        3. Re: Baffled using DatabaseServerLoginModulefenilya May 3, 2004 5:44 PM (in response to fenilya)So, I did some remote debugging in the DatabaseServerLogin class and it was all very simple as always... 
 I forgot I did a field conversion char -> varchar on the password field, and the tool I'm using for DB management viciously filled up the field with spaces, but didnt show them in the grid. Very nasty. So, this problem is solved now. Thanks for your reaction Scott.
 Regards,
 Alex
- 
        4. Re: Baffled using DatabaseServerLoginModulehaplo_3 Oct 18, 2006 1:01 AM (in response to fenilya)im having the same problem now but im not using form im just using BASIC 
 how can i debug DatabaseServerLoginModule?
 i dont see any msg in server.log
- 
        5. Re: Baffled using DatabaseServerLoginModulejaikiran Oct 18, 2006 1:24 AM (in response to fenilya)how can i debug DatabaseServerLoginModule? 
 i dont see any msg in server.log
 Have a look at Q4 at:
 http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ
 to enable TRACE level logging of JBoss security packages.
 
     
     
    