I did not make the entry the way I should have in the login.xml file. I made the following entry.
| <module-option name="hashAlgorithm">MD5</module-option> | <module-option name="hashAlgorithm">base64</module-option> | | It should have been | <module-option name="hashAlgorithm">MD5</module-option> | <module-option name="hashEncoding">base64</module-option> | | That solved the problem. My application-policy in the login-config.xml file now looks like this. | <application-policy name="webquotes"> | <authentication> | <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" flag="required"> | <module-option name="dsJndiName">java:/webquotes</module-option> | <module-option name="hashAlgorithm">MD5</module-option> | <module-option name="hashEncoding">base64</module-option> | <module-option name="principalsQuery"> | select hashpasswd from users where username=? | </module-option> | <module-option name="rolesQuery"> | select role,'Roles' from users where username=? | </module-option> | </login-module> | </authentication> | </application-policy> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872640#3872640 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872640 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user