Skip to content
New issue

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

SEC-1761: Support HttpOnly Flag for Cookies in Servlet 3.0 Environments #1995

Closed
spring-issuemaster opened this issue Jun 9, 2011 · 0 comments

Comments

@spring-issuemaster
Copy link

commented Jun 9, 2011

Rob Winch (Migrated from SEC-1761) said:

Note: This feature will only be supported out of the box in Servlet 3.0 environments. This is due to the fact that pre Servlet 3.0 the only way to support this would be set the header directly which could override other cookies being set. I'm sure this could be done after jumping through a number of hoops, but this is a lot of unnecessary complexity that would likely lead to strange bugs in various containers. If users want, they can always override AbstractRememberMeServices#setCookie method to provide this feature in a pre Servlet 3.0 environment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.