Spring Security
  1. Spring Security
  2. SEC-1439

getRequest() / getResponse() is not public in org.springframework.security.web.context.HttpRequestResponseHolder

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 3.0.2
    • Fix Version/s: 3.0.3, 3.1.0.M1
    • Component/s: Web
    • Labels:
      None

      Description

      Custom SecurityContextRepository implementation relies on HttpRequestResponseHolder parameter in method
      public SecurityContext loadContext(HttpRequestResponseHolder requestResponseHolder).

      Since getters and setters of HttpRequestResponseHolder properties are not public, pluggable repository mechanism is broken.

        Activity

        Hide
        Luke Taylor added a comment -

        Yes, thanks for pointing this out. I've made the changes in the 3.0.x and master branches.

        Show
        Luke Taylor added a comment - Yes, thanks for pointing this out. I've made the changes in the 3.0.x and master branches.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Lukas Herman
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: