Skip to content

Commit b280f19

Browse files
committed
[SHIRO-469] (doc) correct javadoc for JdbcRealm#setPermissionQuery.
Signed-off-by: Benjamin Marwell <bmarwell@gmail.com>
1 parent 5799afe commit b280f19

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

core/src/main/java/org/apache/shiro/realm/jdbc/JdbcRealm.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,8 +165,8 @@ public void setUserRolesQuery(String userRolesQuery) {
165165
/**
166166
* Overrides the default query used to retrieve a user's permissions during authorization. When using the default
167167
* implementation, this query must take a role name as the single parameter and return a row
168-
* per permission with three columns containing the fully qualified name of the permission class, the permission
169-
* name, and the permission actions (in that order). If you require a solution that does not match this query
168+
* per permission with a single column, containing the permission.
169+
* If you require a solution that does not match this query
170170
* structure, you can override {@link #doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection)} or just
171171
* {@link #getPermissions(java.sql.Connection,String,java.util.Collection)}</p>
172172
* <p/>

0 commit comments

Comments
 (0)