Hello.
you can check the permission on a role by using the
request.isUserInRole("myRole")
It would return true if the user has the role "myRole".
Would that be enough for you ?
(if you define new roles other than "user" and "admin" you need to
define them in portlet.xml so that it can work. See the JSR 168 specifications for more
details.)
I hope this will help.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4000330#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...