Skip to content

Commit

Permalink
[SHIRO-469] (doc) correct javadoc for JdbcRealm#setPermissionQuery.
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Marwell <bmarwell@gmail.com>
  • Loading branch information
bmarwell committed Jan 20, 2020
1 parent 5799afe commit b280f19
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/org/apache/shiro/realm/jdbc/JdbcRealm.java
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ public void setUserRolesQuery(String userRolesQuery) {
/**
* Overrides the default query used to retrieve a user's permissions during authorization. When using the default
* implementation, this query must take a role name as the single parameter 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). If you require a solution that does not match this query
* per permission with a single column, containing the permission.
* If you require a solution that does not match this query
* structure, you can override {@link #doGetAuthorizationInfo(org.apache.shiro.subject.PrincipalCollection)} or just
* {@link #getPermissions(java.sql.Connection,String,java.util.Collection)}</p>
* <p/>
Expand Down

0 comments on commit b280f19

Please sign in to comment.