shiro-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From scSynergy <>
Subject Re: How to predefine a role/permission mapping outside realms?
Date Tue, 10 Mar 2015 15:30:02 GMT
In this example the author loads roles and their corresponding permissions
from MongoDB inside his custom made Shiro realm:

Basically any Realm that extends AuthorizingRealm
( has a method to set its
RolePermissionResolver. So, if you have all your realms extend
AuthorizingRealm and set the same RolePermissionResolver unto each of those
realms, then they should all behave alike.

View this message in context:
Sent from the Shiro User mailing list archive at

View raw message