Uploaded image for project: 'Shiro'
  1. Shiro
  2. SHIRO-277

JdbcRealm needs to be refactored

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.2.0
    • Component/s: Realms

      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

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: