Spring Security
  1. Spring Security
  2. SEC-1156

JdbcUserDetailsManager ignores setEnableAuthorities(false)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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
        Simon Hartley added a comment -

        The method deleteUser is also affected by this problem.

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

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

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

          People

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

            Dates

            • Created:
              Updated:
              Resolved: