test_class.declarator: WSP_NAME = "wspName"
test_class.modifier: private static final
test_class.original_string: private static final String WSP_NAME = "wspName";
test_class.type: String
test_class.var_name: WSP_NAME
test_class.declarator: TEST_PREFIX = "jr"
test_class.modifier: public static final
test_class.original_string: public static final String TEST_PREFIX = "jr";
test_class.type: String
test_class.var_name: TEST_PREFIX
test_class.declarator: testName = TEST_PREFIX + ":testRoot"
test_class.modifier: private final
test_class.original_string: private final String testName = TEST_PREFIX + ":testRoot";
test_class.type: String
test_class.var_name: testName
test_class.declarator: testPath = '/' + testName
test_class.modifier: private final
test_class.original_string: private final String testPath = '/' + testName;
test_class.type: String
test_class.var_name: testPath
test_class.declarator: nonExistingPath = "/not/existing"
test_class.modifier: private final
test_class.original_string: private final String nonExistingPath = "/not/existing";
test_class.type: String
test_class.var_name: nonExistingPath
test_class.declarator: testPrincipals = ImmutableSet.of(testPrincipal)
test_class.modifier: private final
test_class.original_string: private final Set<Principal> testPrincipals = ImmutableSet.of(testPrincipal);
test_class.type: Set<Principal>
test_class.var_name: testPrincipals
test_class.declarator: testPrivileges
test_class.modifier: private
test_class.original_string: private Privilege[] testPrivileges;
test_class.type: Privilege[]
test_class.var_name: testPrivileges
test_class.declarator: allPrivileges
test_class.modifier: private
test_class.original_string: private Privilege[] allPrivileges;
test_class.type: Privilege[]
test_class.var_name: allPrivileges
test_class.declarator: acMgr
test_class.modifier: private
test_class.original_string: private AbstractAccessControlManager acMgr;
test_class.type: AbstractAccessControlManager
test_class.var_name: acMgr
test_class.declarator: privilegeManager
test_class.modifier: private
test_class.original_string: private PrivilegeManager privilegeManager;
test_class.type: PrivilegeManager
test_class.var_name: privilegeManager
test_class.declarator: authorizationConfiguration
test_class.modifier: private
test_class.original_string: private AuthorizationConfiguration authorizationConfiguration;
test_class.type: AuthorizationConfiguration
test_class.var_name: authorizationConfiguration
test_class.declarator: securityProvider
test_class.modifier: private
test_class.original_string: private SecurityProvider securityProvider;
test_class.type: SecurityProvider
test_class.var_name: securityProvider
test_class.declarator: cs
test_class.modifier: private
test_class.original_string: private ContentSession cs;
test_class.type: ContentSession
test_class.var_name: cs
test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/authorization/accesscontrol/AbstractAccessControlManagerTest.java
test_class.identifier: AbstractAccessControlManagerTest
test_class.superclass: extends AbstractAccessControlTest
test_case.body: @Test
      public void testHasRepoPrivilegesEveryoneSet() throws Exception {
          assertFalse(acMgr.hasPrivileges(null, getEveryonePrincipalSet(), testPrivileges));
      }
test_case.class_method_signature: AbstractAccessControlManagerTest.testHasRepoPrivilegesEveryoneSet()
test_case.full_signature: @Test public void testHasRepoPrivilegesEveryoneSet()
test_case.identifier: testHasRepoPrivilegesEveryoneSet
test_case.invocations: assertFalse hasPrivileges getEveryonePrincipalSet
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testHasRepoPrivilegesEveryoneSet()
focal_class.declarator: log = LoggerFactory.getLogger(AbstractAccessControlManager.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(AbstractAccessControlManager.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: root
focal_class.modifier: private final
focal_class.original_string: private final Root root;
focal_class.type: Root
focal_class.var_name: root
focal_class.declarator: workspaceName
focal_class.modifier: private final
focal_class.original_string: private final String workspaceName;
focal_class.type: String
focal_class.var_name: workspaceName
focal_class.declarator: namePathMapper
focal_class.modifier: private final
focal_class.original_string: private final NamePathMapper namePathMapper;
focal_class.type: NamePathMapper
focal_class.var_name: namePathMapper
focal_class.declarator: config
focal_class.modifier: private final
focal_class.original_string: private final AuthorizationConfiguration config;
focal_class.type: AuthorizationConfiguration
focal_class.var_name: config
focal_class.declarator: privilegeManager
focal_class.modifier: private final
focal_class.original_string: private final PrivilegeManager privilegeManager;
focal_class.type: PrivilegeManager
focal_class.var_name: privilegeManager
focal_class.declarator: permissionProvider
focal_class.modifier: private
focal_class.original_string: private PermissionProvider permissionProvider;
focal_class.type: PermissionProvider
focal_class.var_name: permissionProvider
focal_class.declarator: doRefresh = false
focal_class.modifier: private
focal_class.original_string: private boolean doRefresh = false;
focal_class.type: boolean
focal_class.var_name: doRefresh
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/authorization/accesscontrol/AbstractAccessControlManager.java
focal_class.identifier: AbstractAccessControlManager
focal_class.interfaces: implements JackrabbitAccessControlManager, AccessControlConstants
focal_class.class_method_signature: AbstractAccessControlManager.AbstractAccessControlManager(@NotNull Root root,
                                             @NotNull NamePathMapper namePathMapper,
                                             @NotNull SecurityProvider securityProvider)
focal_class.full_signature: protected  AbstractAccessControlManager(@NotNull Root root,
                                             @NotNull NamePathMapper namePathMapper,
                                             @NotNull SecurityProvider securityProvider)
focal_class.identifier: AbstractAccessControlManager
focal_class.modifiers: protected
focal_class.parameters: (@NotNull Root root,
                                             @NotNull NamePathMapper namePathMapper,
                                             @NotNull SecurityProvider securityProvider)
focal_class.signature:  AbstractAccessControlManager(@NotNull Root root,
                                             @NotNull NamePathMapper namePathMapper,
                                             @NotNull SecurityProvider securityProvider)
focal_class.class_method_signature: AbstractAccessControlManager.getSupportedPrivileges(@Nullable String absPath)
focal_class.full_signature: @NotNull @Override public Privilege[] getSupportedPrivileges(@Nullable String absPath)
focal_class.identifier: getSupportedPrivileges
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String absPath)
focal_class.return: Privilege[]
focal_class.signature: Privilege[] getSupportedPrivileges(@Nullable String absPath)
focal_class.class_method_signature: AbstractAccessControlManager.privilegeFromName(@NotNull String privilegeName)
focal_class.full_signature: @NotNull @Override public Privilege privilegeFromName(@NotNull String privilegeName)
focal_class.identifier: privilegeFromName
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@NotNull String privilegeName)
focal_class.return: Privilege
focal_class.signature: Privilege privilegeFromName(@NotNull String privilegeName)
focal_class.class_method_signature: AbstractAccessControlManager.hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges)
focal_class.full_signature: @Override public boolean hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges)
focal_class.identifier: hasPrivileges
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String absPath, @Nullable Privilege[] privileges)
focal_class.return: boolean
focal_class.signature: boolean hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges)
focal_class.class_method_signature: AbstractAccessControlManager.getPrivileges(@Nullable String absPath)
focal_class.full_signature: @NotNull @Override public Privilege[] getPrivileges(@Nullable String absPath)
focal_class.identifier: getPrivileges
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String absPath)
focal_class.return: Privilege[]
focal_class.signature: Privilege[] getPrivileges(@Nullable String absPath)
focal_class.class_method_signature: AbstractAccessControlManager.hasPrivileges(@Nullable String absPath, @NotNull Set<Principal> principals, @Nullable Privilege[] privileges)
focal_class.full_signature: @Override public boolean hasPrivileges(@Nullable String absPath, @NotNull Set<Principal> principals, @Nullable Privilege[] privileges)
focal_class.identifier: hasPrivileges
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String absPath, @NotNull Set<Principal> principals, @Nullable Privilege[] privileges)
focal_class.return: boolean
focal_class.signature: boolean hasPrivileges(@Nullable String absPath, @NotNull Set<Principal> principals, @Nullable Privilege[] privileges)
focal_class.class_method_signature: AbstractAccessControlManager.getPrivileges(@Nullable String absPath, @NotNull Set<Principal> principals)
focal_class.full_signature: @NotNull @Override public Privilege[] getPrivileges(@Nullable String absPath, @NotNull Set<Principal> principals)
focal_class.identifier: getPrivileges
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: (@Nullable String absPath, @NotNull Set<Principal> principals)
focal_class.return: Privilege[]
focal_class.signature: Privilege[] getPrivileges(@Nullable String absPath, @NotNull Set<Principal> principals)
focal_class.class_method_signature: AbstractAccessControlManager.getConfig()
focal_class.full_signature: @NotNull protected AuthorizationConfiguration getConfig()
focal_class.identifier: getConfig
focal_class.modifiers: @NotNull protected
focal_class.parameters: ()
focal_class.return: AuthorizationConfiguration
focal_class.signature: AuthorizationConfiguration getConfig()
focal_class.class_method_signature: AbstractAccessControlManager.getRoot()
focal_class.full_signature: @NotNull protected Root getRoot()
focal_class.identifier: getRoot
focal_class.modifiers: @NotNull protected
focal_class.parameters: ()
focal_class.return: Root
focal_class.signature: Root getRoot()
focal_class.class_method_signature: AbstractAccessControlManager.getLatestRoot()
focal_class.full_signature: @NotNull protected Root getLatestRoot()
focal_class.identifier: getLatestRoot
focal_class.modifiers: @NotNull protected
focal_class.parameters: ()
focal_class.return: Root
focal_class.signature: Root getLatestRoot()
focal_class.class_method_signature: AbstractAccessControlManager.getNamePathMapper()
focal_class.full_signature: @NotNull protected NamePathMapper getNamePathMapper()
focal_class.identifier: getNamePathMapper
focal_class.modifiers: @NotNull protected
focal_class.parameters: ()
focal_class.return: NamePathMapper
focal_class.signature: NamePathMapper getNamePathMapper()
focal_class.class_method_signature: AbstractAccessControlManager.getPrivilegeManager()
focal_class.full_signature: @NotNull protected PrivilegeManager getPrivilegeManager()
focal_class.identifier: getPrivilegeManager
focal_class.modifiers: @NotNull protected
focal_class.parameters: ()
focal_class.return: PrivilegeManager
focal_class.signature: PrivilegeManager getPrivilegeManager()
focal_class.class_method_signature: AbstractAccessControlManager.getOakPath(@Nullable String jcrPath)
focal_class.full_signature: @Nullable protected String getOakPath(@Nullable String jcrPath)
focal_class.identifier: getOakPath
focal_class.modifiers: @Nullable protected
focal_class.parameters: (@Nullable String jcrPath)
focal_class.return: String
focal_class.signature: String getOakPath(@Nullable String jcrPath)
focal_class.class_method_signature: AbstractAccessControlManager.getTree(@Nullable String oakPath, long permissions, boolean checkAcContent)
focal_class.full_signature: @NotNull protected Tree getTree(@Nullable String oakPath, long permissions, boolean checkAcContent)
focal_class.identifier: getTree
focal_class.modifiers: @NotNull protected
focal_class.parameters: (@Nullable String oakPath, long permissions, boolean checkAcContent)
focal_class.return: Tree
focal_class.signature: Tree getTree(@Nullable String oakPath, long permissions, boolean checkAcContent)
focal_class.class_method_signature: AbstractAccessControlManager.getPermissionProvider()
focal_class.full_signature: @NotNull protected PermissionProvider getPermissionProvider()
focal_class.identifier: getPermissionProvider
focal_class.modifiers: @NotNull protected
focal_class.parameters: ()
focal_class.return: PermissionProvider
focal_class.signature: PermissionProvider getPermissionProvider()
focal_class.class_method_signature: AbstractAccessControlManager.getPrincipals()
focal_class.full_signature: @NotNull private Set<Principal> getPrincipals()
focal_class.identifier: getPrincipals
focal_class.modifiers: @NotNull private
focal_class.parameters: ()
focal_class.return: Set<Principal>
focal_class.signature: Set<Principal> getPrincipals()
focal_class.class_method_signature: AbstractAccessControlManager.checkPermissions(@Nullable Tree tree, long permissions)
focal_class.full_signature: private void checkPermissions(@Nullable Tree tree, long permissions)
focal_class.identifier: checkPermissions
focal_class.modifiers: private
focal_class.parameters: (@Nullable Tree tree, long permissions)
focal_class.return: void
focal_class.signature: void checkPermissions(@Nullable Tree tree, long permissions)
focal_class.class_method_signature: AbstractAccessControlManager.getPrivileges(@Nullable String absPath,
                                        @NotNull PermissionProvider provider,
                                        long permissions)
focal_class.full_signature: @NotNull private Privilege[] getPrivileges(@Nullable String absPath,
                                        @NotNull PermissionProvider provider,
                                        long permissions)
focal_class.identifier: getPrivileges
focal_class.modifiers: @NotNull private
focal_class.parameters: (@Nullable String absPath,
                                        @NotNull PermissionProvider provider,
                                        long permissions)
focal_class.return: Privilege[]
focal_class.signature: Privilege[] getPrivileges(@Nullable String absPath,
                                        @NotNull PermissionProvider provider,
                                        long permissions)
focal_class.class_method_signature: AbstractAccessControlManager.hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges,
                                    @NotNull PermissionProvider provider, long permissions,
                                    boolean checkAcContent)
focal_class.full_signature: private boolean hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges,
                                    @NotNull PermissionProvider provider, long permissions,
                                    boolean checkAcContent)
focal_class.identifier: hasPrivileges
focal_class.modifiers: private
focal_class.parameters: (@Nullable String absPath, @Nullable Privilege[] privileges,
                                    @NotNull PermissionProvider provider, long permissions,
                                    boolean checkAcContent)
focal_class.return: boolean
focal_class.signature: boolean hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges,
                                    @NotNull PermissionProvider provider, long permissions,
                                    boolean checkAcContent)
focal_method.body: @Override
      public boolean hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges) throws RepositoryException {
          return hasPrivileges(absPath, privileges, getPermissionProvider(), Permissions.NO_PERMISSION, false);
      }
focal_method.class_method_signature: AbstractAccessControlManager.hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges)
focal_method.full_signature: @Override public boolean hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges)
focal_method.identifier: hasPrivileges
focal_method.invocations: hasPrivileges getPermissionProvider
focal_method.modifiers: @Override public
focal_method.parameters: (@Nullable String absPath, @Nullable Privilege[] privileges)
focal_method.return: boolean
focal_method.signature: boolean hasPrivileges(@Nullable String absPath, @Nullable Privilege[] privileges)