You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
servletContext.getSessionHandler().getSessionManager().getSessionCookieConfig().setHttpOnly(true);
Via Config
Enable <Set name="forwarded">true</Set>
HttpConfigurationhttp_config = newHttpConfiguration();
// Add support for X-Forwarded headershttp_config.addCustomizer(neworg.eclipse.jetty.server.ForwardedRequestCustomizer());
Check other settings.
make HttpConfiguration http_config = new HttpConfiguration(); in a protected method
Enable following settings in Jetty Configuration:
servletContext.getSessionHandler().getSessionManager().getSessionCookieConfig().setSecure(true);
servletContext.getSessionHandler().getSessionManager().getSessionCookieConfig().setHttpOnly(true);
Via Config
Enable
<Set name="forwarded">true</Set>
make HttpConfiguration http_config = new HttpConfiguration(); in a protected method
The text was updated successfully, but these errors were encountered: