Eric Norman created SLING-12224:
-----------------------------------

             Summary: Remove dependency on org.apache.sling.jcr.base
                 Key: SLING-12224
                 URL: https://issues.apache.org/jira/browse/SLING-12224
             Project: Sling
          Issue Type: Improvement
            Reporter: Eric Norman
            Assignee: Eric Norman
             Fix For: JCR Jackrabbit Access Manager 4.0.2


Remove dependency on org.apache.sling.jcr.base since it is only used for 
AccessControlUtil methods to access the UserManager and PrincipalManager. 

Since this bundle is a jackrabbit/oak specific implementation we can use the 
JackrabbitSession methods to accomplish the same without the dependency.

 

This refactoring simplifies using sling mocks for tests that interact with this 
code since you only need to mock the AccessControlManager itself and not also 
the AccessControlUtil static methods.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to