hi, Got the answer by myself you should use either :
req.getRemoteUser() or req.getUserPrincipal().getName() if the user is not logged in then req.getRemoteUser() is null and same for req.getUserPrincipal() Thanks JG View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4157646#4157646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4157646 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user