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

Wrong description of JdbcRealm#setPermissionsQuery

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Resolved
    • 1.2.2
    • 1.5.0
    • Realms
    • None

    Description

      Javadoc for JdbcRealm#setPermissionsQuery says:
      "... and return a row

      • per permission with three columns containing the fully qualified name of the permission class, the permission
      • name, and the permission actions (in that order)..."

      However the DEFAULT_PERMISSIONS_QUERY returns just 1 column, the permission name:

      protected static final String DEFAULT_PERMISSIONS_QUERY = "select permission from roles_permissions where role_name = ?";

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              rskokan Radek Skokan
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m