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.
