[
https://issues.apache.org/jira/browse/SLING-12224?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Eric Norman resolved SLING-12224.
---------------------------------
Resolution: Fixed
Merged PR at:
[{{7c0138c}}|https://github.com/apache/sling-org-apache-sling-jcr-jackrabbit-accessmanager/commit/7c0138c957cc1be15c72f62349636b4f5ffd4142]
> 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
> Priority: Major
> 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)