portals-wsrp4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ian O' Keeffe" <okeeffe....@gmail.com>
Subject getRemoteUser
Date Tue, 07 Oct 2008 20:22:20 GMT

I have developed a portlet that uses the request.getRemoteUser() method in
order to retrieve the id of the current user. This works fine when I deploy
the portlet on Pluto. However, when I use the portlet using WSRP4J (wsrp4j
producer with pluto 1.16 on tomcat 5.5.20) the remoteUser string is null.

I have read a few posts from a few years ago that discuss this issue



But the 'problem' still seems to be present in WSRP4J.

Does anybody have a quick solution to the issue. Modifying WSRP4J and
recompiling it would be a solution except that I am currently having issues
deploying the latest WSRP4J from SVN due to a problem with
applicationContext.xml (see my previous post).

The second solution seems to be to invoke pluto APIs directly as in the
second link that I have provided. My problem with this is that I'm not sure
how to satisfy the dependency for the required libraries in my Maven pom.xml

If any body can point me in the right direction I would really appreciate

Thanks in advance,


View raw message