Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
SEC-1761: Support HttpOnly Flag for Cookies in Servlet 3.0 Environments #1995
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.