Shiro
  1. Shiro
  2. SHIRO-277

JdbcRealm needs to be refactored

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.3.0
    • Component/s: Realms
    • Labels:
      None

      Description

      There are at least 2 obvious problems:
      1) the javadoc for JdbcRealm.setPermissionsQuery suggests that the query is expected to have 3 columns ("containing the fully qualified name of the permission class, the permission name, and the permission actions (in that order)"), but the code actually looks only for 1 - permission actions on index 0
      2) it doesn't support salt - checks only for password matching

      1. jdbcRealm.patch
        24 kB
        Phil Steitz

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Ilya Pyatigorskiy
          • Votes:
            2 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:

              Development