I am trying to add acl to the node dynamically.
For a path "/content/dam/abc" folder I want to add read and write access to "testusers" group through the api.
For this I am trying to create principal and privilages objects.
I am using below code for getting Principal Manager. At compile time in maven it is compiling but the bundle is not getting activated once you install bundle in CQ.
PrincipalManager pm = AccessControlUtil.getPrincipalManager(session);
org.apache.jackrabbit.api.security.principal,version=[1.5,2) -- Cannot be resolved
above error is coming in the bundle imports.
Retrieving data ...