This content has been marked as final.
Show 1 reply
-
1. Re: Is it possible to add permission in portlet.xml
vstorm83 Dec 2, 2013 5:16 AM (in response to anishantony)portlet.xml file should be valid to http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd
- There is a part for Security for portlet in JSR 286 spec. If it's not suitable for your case, GateIn also provide "default" accessPermissions, lets look at this : https://github.com/gatein/gatein-portal/blob/master/web/portal/src/main/webapp/WEB-INF/conf/portal/application-registry-configuration.xml
- This is default permission, it's applied when you add new portlet to the page, you can re-configure ApplicationRegistry service in a extension project
- Access permission can also be configured by UI