In this recipe, we will talk about applications as a set of portlets and gadgets, and we will see how to secure them.
We need the Application Registry Portlet to start. See the previous recipe to find out how to use it.
As for the categories, the permissions of the applications can be managed through Application Registry. They can be configured graphically, as for the categories, and through XML. Here is the configuration of the Account Portlet:
<object type="org.exoplatform.application.registry.Application"> <field name="applicationName"> <string>AccountPortlet</string> </field> …….. <field name="accessPermissions"> <collection type="java.util.ArrayList" item-type="java.lang.String"> <value> <string>*:/platform/administrators</string> ...