We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
In production mode we should enforce https only mode.
with STS headers : http://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security (we will need to check if request.isSecure() or request.getRequestURL starts with https:// OR if we the X-Forwarded-Proto header is present, that its https
force the cookies to be emitted as https only: onStartup of the Initializer ->
servletContext.setSessionTrackingModes(Collections.singleton(SessionTrackingMode.COOKIE)); servletContext.getSessionCookieConfig().setHttpOnly(true);
The text was updated successfully, but these errors were encountered:
seems that the STS headers are set automagically by the proxy. Less work for me.
Sorry, something went wrong.
c261a37
syjer
No branches or pull requests
In production mode we should enforce https only mode.
with STS headers : http://en.wikipedia.org/wiki/HTTP_Strict_Transport_Security (we will need to check if request.isSecure() or request.getRequestURL starts with https:// OR if we the X-Forwarded-Proto header is present, that its https
force the cookies to be emitted as https only: onStartup of the Initializer ->
The text was updated successfully, but these errors were encountered: