Fixed: Fix the HttpServletRequestWrapper in ContextFilter.doFilter()
As reported by Deepak on dev ML the returned name should be a parameter and not
enforced to "Authorisation"
Thanks: Deepak for bug report
@@ -206,7 +206,7 @@ public class ContextFilter implements Filter {
value = ExternalLoginKeysManager.createJwt(externalServerUserLoginId, dnsName, webAppName , timeToLive);
}
if (value != null) return value;
- return super.getHeader("Authorisation");
+ return super.getHeader(name); // Here name is always "Authorisation"
}
};
// we're done checking; continue on
