Sorry, I responded to quickly.   Just to clear this up...  A realm can
assign roles and/or permissions to a subject (user).  So you could end up
with roles/permissions from multiple realms (if that is what you are
looking for)

Your application could resolve roles to permissions by using a
RolePermissionResolver

http://shiro.apache.org/authorization.html#Authorization-Configuringaglobal%7B%7BRolePermissionResolver%7D%7D



On Fri, Jan 29, 2016 at 11:44 AM, Brian Demers <[email protected]>
wrote:

> Yes, that was one of the initial reasons I started using Shiro.
>
> On Fri, Jan 29, 2016 at 11:13 AM, jonathan.labin <[email protected]
> > wrote:
>
>> Can permissions be defined in one realm while the role that gives those
>> permissions is given a different realm?
>>
>>
>>
>> --
>> View this message in context:
>> http://shiro-user.582556.n2.nabble.com/Multiple-Realms-one-for-Authentikation-one-for-Authorization-tp1113845p7580934.html
>> Sent from the Shiro User mailing list archive at Nabble.com.
>>
>
>

Reply via email to