shiro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Radek Skokan (JIRA)" <j...@apache.org>
Subject [jira] [Created] (SHIRO-469) Wrong description of JdbcRealm#setPermissionsQuery
Date Wed, 30 Oct 2013 12:30:25 GMT
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)

Mime
View raw message