You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@shiro.apache.org by mgiammarco <mg...@gmail.com> on 2013/06/01 14:08:00 UTC

Re: Retrieving The List Of Permissions (Or Roles) For A User

Hello, 
I have exactly the same problem (I need to know permissions of a user
because I need to put them in a dynamic menu list). I would like to know if
there are news regarding this thread.

I would like to add my 2cents: in my opinions is shiro framework that should
provide a way to get the complete list of permissions. Infact shiro can
authenticate using ldap/db/ad/text file/and others.
It is not pratical to replicate in my code a sql/ldap/ad/others query to get
what shiro already knows, it is not object oriented programming and/or it
does not respect DRY pattern.

If there is a developer thread I will post there to ask for this feature.

Thanks,
Mario



--
View this message in context: http://shiro-user.582556.n2.nabble.com/Retrieving-The-List-Of-Permissions-Or-Roles-For-A-User-tp6634613p7578793.html
Sent from the Shiro User mailing list archive at Nabble.com.

RE: Retrieving The List Of Permissions (Or Roles) For A User

Posted by Ken in Nashua <kc...@live.com>.
I have had good luck wish shiro.
the docs could be better but thats with everything
I use the tapestry extension ... tynamo-security
shiro is kinda like a shell... you have to tell it what to model...and it does the rest.
 
i am happy to tell of my experience... positive one. 
 
- cheers
 
KEN