Hi,
I am trying to implement WSRP using weblogic portal 10.3.6. producer and consumer are deployed in two different domains. i wrote a simple java producer portlet which prints all the server and user details. am getting getUserprincipal() & getRemoteUser() are null while consuming the portlet.
private void retrieveRequestInfo(PortletRequest request) {
//private void retrieveRequestInfo(ActionRequest request) {
addProperty("remote user", request.getRemoteUser());
addProperty("Authorization type", request.getAuthType());
String principalName =
(request.getUserPrincipal() == null)
? null
: request.getUserPrincipal().getName();
addProperty("Principal Name", principalName);
}
could someone please help me with this issue?