[jboss-user] [JBoss Portal] - How to retrieve username?
pshaktig
do-not-reply at jboss.com
Mon Mar 24 05:47:51 EDT 2008
Hi all,
I have deployed a portlet in JBoss. I login into the portal and fire a request. I also have a servlet which is part of the same web application of which portlet is a part. While trying to retrieve username using request.getPrincipal(), I get null.
Any idea as to why I am getting null username? Please provide a way to retrieve username from http servlet request.
Thanks,
Shakti
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4138502#4138502
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4138502
More information about the jboss-user
mailing list