mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-08 16:19:48 +00:00
Add principal in GlassfishRequestUpgradeStrategy
This commit is contained in:
+1
@@ -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()) {
|
||||
|
||||
Reference in New Issue
Block a user