[jboss-user] [Security & JAAS/JBoss] - Re: Have problem about
jaikiran
do-not-reply at jboss.com
Mon Feb 5 15:16:39 EST 2007
I dont think, you need all this to login using JAAS. Its pretty simple, you need to have the user.conf in your classpath and add using System.setProperty. Also, i see a problem in the code that you have:
anonymous wrote : LoginContext lc = new LoginContext("clientTest", new MyCallbackHandler());
Shouldnt "clientTest" be "userTest" since your user.conf mentions userTest?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011546#4011546
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011546
More information about the jboss-user
mailing list