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

JdbcRealm needs to be refactored

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.1.0
    • 1.2.0
    • 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

        1. jdbcRealm.patch
          24 kB
          Phil Steitz

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: