Author: dkuleshov
Date: 2012-01-24 05:23:50 -0500 (Tue, 24 Jan 2012)
New Revision: 5497
Modified:
jcr/branches/1.15.x/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/organization-service-listener.xml
Log:
EXOJCR-1716: added doc note
Modified:
jcr/branches/1.15.x/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/organization-service-listener.xml
===================================================================
---
jcr/branches/1.15.x/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/organization-service-listener.xml 2012-01-24
10:16:51 UTC (rev 5496)
+++
jcr/branches/1.15.x/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/organization-service-listener.xml 2012-01-24
10:23:50 UTC (rev 5497)
@@ -178,5 +178,13 @@
<para>Now, simply deploy the jar under $TOMCAT_HOME/lib and your listeners
are ready!</para>
+
+ <para><note>
+ <para>Be aware that you need to set proper RuntimePermission to be
+ able to add or remove Listeners. To do that you need to grant the
+ following permission for your code</para>
+
+ <programlisting>permission java.lang.RuntimePermission
"manageListeners"</programlisting>
+ </note></para>
</section>
</chapter>
Show replies by date