Also, if you want a non-null Principal from the web server, you'll need to secure your servlet/jsp. If you don't have it secured, it will come back as null, if I remember correctly. That's at least the way it works in Jetty, so it's probably pretty similar.
If you secure that, you can skip all of the SecurityAssociationHandler stuff. Another thing is if you're already in the JBoss/Tomcat container, all you have to call is: Context ctx = new InitialContext(); without passing in the hashtable. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3831307#3831307 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3831307 ------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
