Uploaded image for project: 'Spring Security'
  1. Spring Security
  2. SEC-1761

Support HttpOnly Flag for Cookies in Servlet 3.0 Environments

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor
    • Resolution: Complete
    • Affects Version/s: 3.1.0.RC2
    • Fix Version/s: 3.1.0.RC3
    • Component/s: None
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              rwinch Rob Winch
              Reporter:
              rwinch Rob Winch
            • Votes:
              5 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: