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)

Reply via email to