Browse Source

Add principal in GlassfishRequestUpgradeStrategy

pull/423/merge
Rossen Stoyanchev 11 years ago
parent
commit
14468e80f3
  1. 1
      spring-websocket/src/main/java/org/springframework/web/socket/server/standard/GlassFishRequestUpgradeStrategy.java

1
spring-websocket/src/main/java/org/springframework/web/socket/server/standard/GlassFishRequestUpgradeStrategy.java

@ -165,6 +165,7 @@ public class GlassFishRequestUpgradeStrategy extends AbstractStandardUpgradeStra @@ -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()) {

Loading…
Cancel
Save