Uploaded image for project: 'SX Spring Python'
  1. SX Spring Python
  2. SESPRINGPYTHONPY-130

Discovered that trying to access SecurityContextHolder information was broken inside CherryPy app

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.0.M2
    • Component/s: Security
    • Labels:
      None

      Description

      While working on case study for the book, discovered that I was unable to access the SecurityContextHolder information due to it being cleaned out before reaching the CherryPy view code. Had to write custom page handler inside CP3FilterChainProxy in order to properly handle the function call at the right entry point.

      Turned out to not be a huge impact to the code, even though it took me hours to figure out the solution.

        Activity

        Hide
        gregturn Greg Turnquist added a comment -

        Fixed things, and confirmed PetClinic is able to display user's name now on the screen based on login information. (Didn't commit the changes to PetClinic, just did some what-if testing).

        Show
        gregturn Greg Turnquist added a comment - Fixed things, and confirmed PetClinic is able to display user's name now on the screen based on login information. (Didn't commit the changes to PetClinic, just did some what-if testing).

          People

          • Assignee:
            gregturn Greg Turnquist
            Reporter:
            gregturn Greg Turnquist
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: