Setup Netcetric AC Tool for AEM 6.5

Introduction

Requirements

Installation

Manual Installation

Installation Steps:

ERROR: Could not process yaml files / e=java.lang.UnsupportedOperationException: The query read or traversed more than 100000 nodes. To avoid affecting other tasks, processing was stopped.

Configuration

Automatic Installation

<dependency>
<groupId>biz.netcentric.cq.tools.accesscontroltool</groupId>
<artifactId>accesscontroltool-package</artifactId>
<version>2.6.2</version>
<type>zip</type>
<exclusions>
<exclusion>
<groupId>biz.netcentric.cq.tools.accesscontroltool</groupId>
<artifactId>accesscontroltool-bundle</artifactId>
</exclusion>
</exclusions>
</dependency>
<plugin>
<groupId>org.apache.jackrabbit</groupId>
<artifactId>filevault-package-maven-plugin</artifactId>
<extensions>true</extensions>

<configuration>
<allowIndexDefinitions>true</allowIndexDefinitions>
<embeddeds>
.......
</embeddeds>

<subPackages>
....
<subPackage>
<groupId>biz.netcentric.cq.tools.accesscontroltool</groupId>
<artifactId>accesscontroltool-package</artifactId>
<filter>true</filter>
</subPackage>
....
</subPackages>
<!-- for auto deploment <properties>
<installhook.actool.class>biz.netcentric.cq.tools.actool.installhook.AcToolInstallHook</installhook.actool.class>
</properties>-->
</configuration>
</plugin>
<?xml version="1.0" encoding="UTF-8"?>
<jcr:root xmlns:oak="http://jackrabbit.apache.org/oak/ns/1.0" xmlns:social="http://www.adobe.com/social/1.0"
xmlns:jcr="http://www.jcp.org/jcr/1.0" xmlns:nt="http://www.jcp.org/jcr/nt/1.0"
xmlns:cq="http://www.day.com/jcr/cq/1.0" xmlns:rep="internal"
jcr:mixinTypes="[rep:AccessControllable]"
jcr:primaryType="nt:unstructured">

<repACL
jcr:primaryType="oak:QueryIndexDefinition"
declaringNodeTypes="{Name}[rep:ACL]"
propertyNames="{Name}[jcr:primaryType,jcr:mixinTypes]"
reindex="{Boolean}false"
reindexCount="{Long}1"
type="property"/>
</jcr:root>
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/oak:index/repACL"/>
</workspaceFilter>
# Configuration created by Apache Sling JCR Installer
AceUploadListener.setStatusService="enabled"
AceUploadListener.triggerDelayMs=I"5000"
# Configuration created by Apache Sling JCR Installer
DumpService.queryExcludePaths=["/home","/jcr:system","/tmp"]
DumpService.nrOfSavedDumps=I"5"
DumpService.includeUsers=B"false"
# Configuration created by Apache Sling JCR Installer
AceService.nrOfSavedHistories=I"5"
# Configuration created by Apache Sling JCR Installer
AceService.configurationPath="/apps/netcentric/actoolconfig"
intermediateSaves=B"false"

Logging

Writing Rules

Rules location

YAML file structure

Applying rules

Manual (over JMX)

Automatically (by project deployment)

<plugin>    <groupId>org.apache.jackrabbit</groupId>    <artifactId>filevault-package-maven-plugin</artifactId>    <extensions>true</extensions>    <configuration>        <embeddeds>            <embedded>                <groupId>com.did</groupId>                <artifactId>project.common</artifactId>                <target>/apps/project/install</target>            </embedded>            <embedded>                <groupId>com.did</groupId>                <artifactId>project.core</artifactId>                <target>/apps/project/install</target>            </embedded>            <embedded>                <groupId>com.did</groupId>                <artifactId>project.commerce</artifactId>                <target>/apps/project/install</target>            </embedded>        </embeddeds>        <subPackages>            <subPackage>                <groupId>com.adobe.cq</groupId>                <artifactId>core.wcm.components.all</artifactId>                <filter>true</filter>            </subPackage>        </subPackages>        <properties>            <installhook.actool.class>biz.netcentric.cq.tools.actool.installhook.AcToolInstallHook</installhook.actool.class>        </properties>    </configuration></plugin>

A Passionate Computer Engineer From İzmir

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store