[exo-jcr-commits] exo-jcr SVN: r5502 - jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core.
do-not-reply at jboss.org
do-not-reply at jboss.org
Tue Jan 24 06:03:48 EST 2012
Author: dkuleshov
Date: 2012-01-24 06:03:48 -0500 (Tue, 24 Jan 2012)
New Revision: 5502
Modified:
jcr/trunk/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/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/organization-service-listener.xml
===================================================================
--- jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/organization-service-listener.xml 2012-01-24 10:54:11 UTC (rev 5501)
+++ jcr/trunk/exo.jcr.docs/exo.jcr.docs.developer/en/src/main/docbook/en-US/modules/core/organization-service-listener.xml 2012-01-24 11:03:48 UTC (rev 5502)
@@ -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>
More information about the exo-jcr-commits
mailing list