Hi kimg
The  docs says
<http://shiro.apache.org/static/1.2.3/apidocs/src-html/org/apache/shiro/realm/jdbc/JdbcRealm.html#line.57>
 
:
JdbcRealm can be subclassed and the appropriate methods overridden. In your
case you can override doGetAuthorizationInfo(PrincipalCollection) or just
getRoleNamesForUser(java.sql.Connection,String)

Then set your custom  realm <http://shiro.apache.org/realm.html>  into shiro
ini

myRealm = com.company.app.MyJdbcRealm

securityManager.realms = $myRealm 



--
View this message in context: 
http://shiro-user.582556.n2.nabble.com/More-parameters-in-role-query-tp7580020p7580022.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to