Add principal in GlassfishRequestUpgradeStrategy

This commit is contained in:
Rossen Stoyanchev 2013-12-03 12:02:41 -05:00
parent b1485420b6
commit 14468e80f3
1 changed files with 1 additions and 0 deletions

View File

@ -165,6 +165,7 @@ public class GlassFishRequestUpgradeStrategy extends AbstractStandardUpgradeStra
RequestContext wsRequest = RequestContext.Builder.create().
requestURI(URI.create(wsApp.getPath())).requestPath(wsApp.getPath()).
userPrincipal(request.getUserPrincipal()).
connection(connection).secure(request.isSecure()).build();
for (String header : headers.keySet()) {