You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by "Radek Skokan (JIRA)" <ji...@apache.org> on 2013/10/30 13:30:25 UTC

[jira] [Created] (SHIRO-469) Wrong description of JdbcRealm#setPermissionsQuery

Radek Skokan created SHIRO-469:
----------------------------------

             Summary: Wrong description of JdbcRealm#setPermissionsQuery
                 Key: SHIRO-469
                 URL: https://issues.apache.org/jira/browse/SHIRO-469
             Project: Shiro
          Issue Type: Bug
          Components: Realms 
    Affects Versions: 1.2.2
            Reporter: Radek Skokan
            Priority: Minor


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 = ?";



--
This message was sent by Atlassian JIRA
(v6.1#6144)