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

JdbcUserDetailsManager ignores setEnableAuthorities(false)

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.4
    • Fix Version/s: 3.0.0 M2
    • Component/s: Core
    • Labels:
      None

      Description

      The methods createUser and updateUser access the authorities table, even when configured not to on the super class using setEnableAuthorities.

        Activity

        Hide
        simonhartley Simon Hartley added a comment -

        The method deleteUser is also affected by this problem.

        Show
        simonhartley Simon Hartley added a comment - The method deleteUser is also affected by this problem.
        Hide
        luke Luke Taylor added a comment -

        Thanks. I've modified those methods to check the flag.

        Show
        luke Luke Taylor added a comment - Thanks. I've modified those methods to check the flag.

          People

          • Assignee:
            luke Luke Taylor
            Reporter:
            simonhartley Simon Hartley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: