You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:50:50 UTC
[sling-org-apache-sling-jmx-provider] 06/09: Add metatype
information for resource access security
This is an automated email from the ASF dual-hosted git repository.
rombert pushed a commit to annotated tag org.apache.sling.jmx.provider-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jmx-provider.git
commit 37e96a764989db0b764d4679e03a0d9dfa15ceea
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Jan 29 13:09:03 2014 +0000
Add metatype information for resource access security
git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/jmxprovider@1562432 13f79535-47bb-0310-9956-ffa450edef68
---
pom.xml | 2 +-
.../java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/pom.xml b/pom.xml
index 9f0e064..5b3effc 100644
--- a/pom.xml
+++ b/pom.xml
@@ -64,7 +64,7 @@
<dependency>
<groupId>org.apache.sling</groupId>
<artifactId>org.apache.sling.api</artifactId>
- <version>2.4.0</version>
+ <version>2.5.0</version>
<scope>provided</scope>
</dependency>
<dependency>
diff --git a/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java b/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
index 0ba933d..79725fa 100644
--- a/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
+++ b/src/main/java/org/apache/sling/jmx/provider/impl/JMXResourceProvider.java
@@ -64,7 +64,9 @@ import org.apache.sling.commons.osgi.PropertiesUtil;
@Properties({
@Property(name = ResourceProvider.ROOTS, value="/system/sling/monitoring/mbeans",
label="Root",
- description="The mount point of the JMX beans")
+ description="The mount point of the JMX beans"),
+ @Property(name = ResourceProvider.USE_RESOURCE_ACCESS_SECURITY, boolValue=true,
+ label="Secure", description="If enabled additional access checks are performed")
})
/**
* Brief summary of a "good" object name:
--
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.