[
https://jira.jboss.org/jira/browse/JBPORTAL-2404?page=com.atlassian.jira....
]
Marcus Moyses commented on JBPORTAL-2404:
-----------------------------------------
Maybe throwing an exception with a message explaining the situation makes more sense.
Simply returning null makes us wonder if we did anything wrong.
Just my two cents.
WSRP implementation does not executes getUserPrincipal() when the
portlet is invoked remotely
---------------------------------------------------------------------------------------------
Key: JBPORTAL-2404
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-2404
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal WSRP
Affects Versions: 2.7.2 Final
Environment: Red Hat Enterprise Linux 5
Reporter: Ricardo Ferreira
Assignee: Chris Laprun
Attachments: JBH.ear
The JBoss Portal implementation does not executes correctly API invocations related to
the principal retrieve from the portlet contĂȘiner. When you executes a local portlet, the
API call "HttpServletRequest.getUserPrincipal()" works fine. But when you
install this same portlet in a remote portlet container using WSRP, the API call returns
"null".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira