You need to add something like this to your web.xml. Make sure the jsp page you wish to use request.getUserPrincipal() is in the url-pattern.
| <security-constraint> | <web-resource-collection> | <web-resource-name>Protected Area</web-resource-name> | <url-pattern>/jsp/secure/*</url-pattern> | <url-pattern>/secure/*</url-pattern> | </web-resource-collection> | <auth-constraint> | <role-name>admin</role-name> | </auth-constraint> | </security-constraint> | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861275#3861275 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861275 ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
