[jboss-dev-forums] [JBoss Web Development] - JAAS Issue

Vicente Couto do-not-reply at jboss.com
Tue May 10 10:22:34 EDT 2011


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&containerType=14&container=2112]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20110510/9570fdd7/attachment.html 


More information about the jboss-dev-forums mailing list