Hi Les,

I worked around it.   Specifically, I have a list of topics that I want to
know if user is able to subscribe to based on permissions.  So instead of
having the user ask which ones they could see, I just wanted to be able to
provide a "subscribe" method and let the method figure out what the
permissioned topics were (using the realm that it is defined in).  My work
around is instead I just read the list from the same source that the realm
does and when the user "subscribes" I just go the list and determine which
are valid.  Even though I knew which realm defined this, I couldn't figure
out a way of "reading" all permissions given realm and user.  

It is up to you whether you feel this is worth providing or not.  My work
around works well.

Thanks,

Rich
-- 
View this message in context: 
http://n2.nabble.com/Reading-Permissions-given-a-Subject-tp4677787p4752373.html
Sent from the Shiro User mailing list archive at Nabble.com.

Reply via email to