Vicente Couto [
http://community.jboss.org/people/couto.vicente] created the discussion
"JAAS Issue"
To view the discussion, visit:
http://community.jboss.org/message/604479#604479
--------------------------------------------------------------
Hi everyone.
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?
--------------------------------------------------------------
Reply to this message by going to Community
[
http://community.jboss.org/message/604479#604479]
Start a new discussion in JBoss Web Development at Community
[
http://community.jboss.org/choose-container!input.jspa?contentType=1&...]