6 Replies Latest reply on Apr 19, 2006 11:16 AM by Patrick Dalla Bernardina

    Dynamic Role for portlets

    Patrick Dalla Bernardina Apprentice

      It is only possible to verify that a user is in a Role (portletRequest.isUserInRole(String)) if that role was defined in portlet.xml.

      But on of my portlets implementation is used many times in my portal, each with a diferent portlet instance in diferent pages.

      For each of this page, a diferent role is responsible for administration.

      How can I define this?

      And if I want to specify roles at run time?