Spring Security
  1. Spring Security
  2. SEC-1625

Expose booleans in <jdbc-user-service> to enable/disable use of groups or authorities.

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.1.0.M2
    • Component/s: Core
    • Labels:
      None

      Description

      I am using spring security namespace and using <jdbc-user-service> bean.
      Looking at documentation of JdbcDaoImpl class, it gets authorities from groups table only if "enableGroups" is set to TRUE.
      By default, it's false.

      Workaround is, to directly use 'JdbcDaoImpl' bean as user-service bean.

        Activity

        Hide
        Luke Taylor added a comment -

        I'd recommend you just declare the bean. There isn't really any benefit to be gained by using the namespace element and there's not much point in exposing the equivalent configuration in the namespace. It's really just an extra layer of obfuscation.

        Show
        Luke Taylor added a comment - I'd recommend you just declare the bean. There isn't really any benefit to be gained by using the namespace element and there's not much point in exposing the equivalent configuration in the namespace. It's really just an extra layer of obfuscation.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Ashish Jain
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: