ContainerPortletAuthoritiesPopulator.java | Class | Populates the portlet authorities via role information from the portlet container.
Primarily it uses the PortletRequest.isUserInRole(role) method to
check if the user is in a list of configured roles.
This bean has the following configurable properties:
rolesToCheck : A list of strings containing names of roles to check.
These roles must also be properly declared in a <security-role-ref> element
of the portlet descriptor in the portlet.xml file.
rolePrefix : The prefix to be added onto each role name that as it is
added to the list of authorities. |