Yes, there is no user role, nor any user principal except on protected pages.
So, if you protect page a.jsp, (see web.xml on how to do this). then <% System.out.println(request.getUserPrincipal()); %> will show the user principal. On unprotected page B, it will be null. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865891#3865891 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865891 ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
