As I've seen in org.jboss.portal.portlet.impl.PortletRequestImpl code, a call 
to isUserInRole("rolename") will return true only if the role is mapped in 
portlet.xml <security-role-ref>.

But my portlet security needs to be more dynamic. Roles are created and 
configured online and the portlet need to know his membership without any 
change in portlet.xml.

How can I do this?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3889300#3889300

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3889300


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to