We are using JBoss portal server 2.7. We want it to consume a remote portlet. To satisfy the remote server's authentication requirement, the user name must be a header field in HTTP requests. However, the user name is specifed as userContextKey in the SOAP message which is part of HTTP request body.
I looked around in JBoss portal's online documentation, it does not seem to me that this is something can be configured (hope I am wrong here :) ). If we can't put user name into the HTTP request header, we probably will have to build some proxy to sit in between to get user name from body and inject it into the header.