0 Replies Latest reply on Jul 15, 2013 12:00 AM by maruthid

    org.apache.jackrabbit.api.security.principal.PrincipalManager not resolving in 5.6.1

    maruthid Level 1

      Hi,

       

      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.

       

      -Maruthi