Spring Security
  1. Spring Security
  2. SEC-1345

JdbcDaoImpl: Default rolePrefix to "ROLE_"

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Won't Fix
    • Affects Version/s: 3.0.0
    • Fix Version/s: 3.0.1
    • Component/s: None
    • Labels:
      None

      Description

      For minimal required configuration. For example, the intercept-url "access" attribute must be prefixed with "ROLE_" or exception thrown during startup.

      <sec:http auto-config="true">
      <sec:intercept-url pattern="/**" access="ROLE_SUPER_USER" />
      </sec:http>

        Activity

        Hide
        Luke Taylor added a comment -

        This would break existing configurations where the prefix is already present in the stored attribute values.

        Show
        Luke Taylor added a comment - This would break existing configurations where the prefix is already present in the stored attribute values.

          People

          • Assignee:
            Luke Taylor
            Reporter:
            Alvin Chee
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: