I'm trying to make a very simple application based on jboss-web 2.1.9.GA.
I have created a text file name jaas. conf declaring a cutsom login module to the application, I have added to the catalina.bat file a security configuration to reference to this file, I have added to the web.xml a security role and a form section to allow authentication, and, of course, I have created a java login module following the JASS tutorial. Everything works fine, but I guess the method handle of callbackhandler is not working fine, cause the 'username' variable in this code (from login module file) always gives null. Does anyone knows what is wrong?