Registry / utility / org-apache-sling-jcr-base

org-apache-sling-jcr-base

JSON →
library3.2.0javamavenunverified

Provides JCR utility classes for Apache Sling, simplifying content repository interactions.

<dependency> <groupId>org.apache.sling</groupId> <artifactId>org.apache.sling.jcr.base</artifactId> <version>3.2.0</version> </dependency>
INSTALL
IMPORT
SIG · ORG-APACHE-SLING-J
O
org-apache-sling-jcr-base
utilityjavav3.2.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AccessControlUtil
org.apache.sling.jcr.base.util.AccessControlUtil

Shows how to use AccessControlUtil to manage JCR permissions.

import org.apache.sling.jcr.base.util.AccessControlUtil; import javax.jcr.Session; public class Example { public void example(Session session) throws Exception { AccessControlUtil.addAccessControlEntry(session, "/path", "user", new String[]{"jcr:read"}); } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
3.2.0latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
org-apache-sling-jcr-base — mvn dependency:get org-apache-sling-jcr-base · libregistry