test_class.declarator: root = mock(Root.class)
test_class.modifier: private final
test_class.original_string: private final Root root = mock(Root.class);
test_class.type: Root
test_class.var_name: root
test_class.declarator: securityProvider = mock(SecurityProvider.class)
test_class.modifier: private final
test_class.original_string: private final SecurityProvider securityProvider = mock(SecurityProvider.class);
test_class.type: SecurityProvider
test_class.var_name: securityProvider
test_class.declarator: userConfiguration = mock(UserConfiguration.class)
test_class.modifier: private final
test_class.original_string: private final UserConfiguration userConfiguration = mock(UserConfiguration.class);
test_class.type: UserConfiguration
test_class.var_name: userConfiguration
test_class.declarator: authorizationConfiguration = mock(AuthorizationConfiguration.class)
test_class.modifier: private final
test_class.original_string: private final AuthorizationConfiguration authorizationConfiguration = mock(AuthorizationConfiguration.class);
test_class.type: AuthorizationConfiguration
test_class.var_name: authorizationConfiguration
test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/user/action/AccessControlActionTest.java
test_class.identifier: AccessControlActionTest
test_class.interfaces: implements UserConstants
test_case.body: @Test(expected = RepositoryException.class)
      public void testOnCreateBuiltinIsGroup() throws Exception {
          initSecurityProvider("adminIdIsUsedByGroup", "anonymousId");
          AccessControlAction action = createAction(PrivilegeConstants.JCR_READ);
  
          // the check for built-in user must ignore groups
          Group gr = mockGroup("adminIdIsUsedByGroup", null, null);
          action.onCreate(gr, root, NamePathMapper.DEFAULT);
      }
test_case.class_method_signature: AccessControlActionTest.testOnCreateBuiltinIsGroup()
test_case.full_signature: @Test(expected = RepositoryException.class) public void testOnCreateBuiltinIsGroup()
test_case.identifier: testOnCreateBuiltinIsGroup
test_case.invocations: initSecurityProvider createAction mockGroup onCreate
test_case.modifiers: @Test(expected = RepositoryException.class) public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testOnCreateBuiltinIsGroup()
focal_class.declarator: log = LoggerFactory.getLogger(AccessControlAction.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger log = LoggerFactory.getLogger(AccessControlAction.class);
focal_class.type: Logger
focal_class.var_name: log
focal_class.declarator: USER_PRIVILEGE_NAMES = "userPrivilegeNames"
focal_class.modifier: public static final
focal_class.original_string: public static final String USER_PRIVILEGE_NAMES = "userPrivilegeNames";
focal_class.type: String
focal_class.var_name: USER_PRIVILEGE_NAMES
focal_class.declarator: GROUP_PRIVILEGE_NAMES = "groupPrivilegeNames"
focal_class.modifier: public static final
focal_class.original_string: public static final String GROUP_PRIVILEGE_NAMES = "groupPrivilegeNames";
focal_class.type: String
focal_class.var_name: GROUP_PRIVILEGE_NAMES
focal_class.declarator: securityProvider
focal_class.modifier: private
focal_class.original_string: private SecurityProvider securityProvider;
focal_class.type: SecurityProvider
focal_class.var_name: securityProvider
focal_class.declarator: groupPrivilegeNames = new String[0]
focal_class.modifier: private
focal_class.original_string: private String[] groupPrivilegeNames = new String[0];
focal_class.type: String[]
focal_class.var_name: groupPrivilegeNames
focal_class.declarator: userPrivilegeNames = new String[0]
focal_class.modifier: private
focal_class.original_string: private String[] userPrivilegeNames = new String[0];
focal_class.type: String[]
focal_class.var_name: userPrivilegeNames
focal_class.declarator: administrativePrincipals = Collections.emptySet()
focal_class.modifier: private
focal_class.original_string: private Set<String> administrativePrincipals = Collections.emptySet();
focal_class.type: Set<String>
focal_class.var_name: administrativePrincipals
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/user/action/AccessControlAction.java
focal_class.identifier: AccessControlAction
focal_class.class_method_signature: AccessControlAction.init(SecurityProvider securityProvider, ConfigurationParameters config)
focal_class.full_signature: @Override public void init(SecurityProvider securityProvider, ConfigurationParameters config)
focal_class.identifier: init
focal_class.modifiers: @Override public
focal_class.parameters: (SecurityProvider securityProvider, ConfigurationParameters config)
focal_class.return: void
focal_class.signature: void init(SecurityProvider securityProvider, ConfigurationParameters config)
focal_class.class_method_signature: AccessControlAction.onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_class.full_signature: @Override public void onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_class.identifier: onCreate
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_class.return: void
focal_class.signature: void onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_class.class_method_signature: AccessControlAction.onCreate(@NotNull User user, @Nullable String password, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_class.full_signature: @Override public void onCreate(@NotNull User user, @Nullable String password, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_class.identifier: onCreate
focal_class.modifiers: @Override public
focal_class.parameters: (@NotNull User user, @Nullable String password, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_class.return: void
focal_class.signature: void onCreate(@NotNull User user, @Nullable String password, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_class.class_method_signature: AccessControlAction.privilegeNames(ConfigurationParameters config, String paramName)
focal_class.full_signature: @NotNull private static String[] privilegeNames(ConfigurationParameters config, String paramName)
focal_class.identifier: privilegeNames
focal_class.modifiers: @NotNull private static
focal_class.parameters: (ConfigurationParameters config, String paramName)
focal_class.return: String[]
focal_class.signature: String[] privilegeNames(ConfigurationParameters config, String paramName)
focal_class.class_method_signature: AccessControlAction.setAC(@NotNull Authorizable authorizable, @NotNull Root root,
                         @NotNull NamePathMapper namePathMapper)
focal_class.full_signature: private void setAC(@NotNull Authorizable authorizable, @NotNull Root root,
                         @NotNull NamePathMapper namePathMapper)
focal_class.identifier: setAC
focal_class.modifiers: private
focal_class.parameters: (@NotNull Authorizable authorizable, @NotNull Root root,
                         @NotNull NamePathMapper namePathMapper)
focal_class.return: void
focal_class.signature: void setAC(@NotNull Authorizable authorizable, @NotNull Root root,
                         @NotNull NamePathMapper namePathMapper)
focal_class.class_method_signature: AccessControlAction.omitSetup(@NotNull Authorizable authorizable)
focal_class.full_signature: private boolean omitSetup(@NotNull Authorizable authorizable)
focal_class.identifier: omitSetup
focal_class.modifiers: private
focal_class.parameters: (@NotNull Authorizable authorizable)
focal_class.return: boolean
focal_class.signature: boolean omitSetup(@NotNull Authorizable authorizable)
focal_class.class_method_signature: AccessControlAction.isBuiltInUser(@NotNull Authorizable authorizable)
focal_class.full_signature: private boolean isBuiltInUser(@NotNull Authorizable authorizable)
focal_class.identifier: isBuiltInUser
focal_class.modifiers: private
focal_class.parameters: (@NotNull Authorizable authorizable)
focal_class.return: boolean
focal_class.signature: boolean isBuiltInUser(@NotNull Authorizable authorizable)
focal_class.class_method_signature: AccessControlAction.getPrivileges(@NotNull String[] privNames,
                                               @NotNull AccessControlManager acMgr)
focal_class.full_signature: @NotNull private static Privilege[] getPrivileges(@NotNull String[] privNames,
                                               @NotNull AccessControlManager acMgr)
focal_class.identifier: getPrivileges
focal_class.modifiers: @NotNull private static
focal_class.parameters: (@NotNull String[] privNames,
                                               @NotNull AccessControlManager acMgr)
focal_class.return: Privilege[]
focal_class.signature: Privilege[] getPrivileges(@NotNull String[] privNames,
                                               @NotNull AccessControlManager acMgr)
focal_class.superclass: extends AbstractAuthorizableAction
focal_method.body: @Override
      public void onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper) throws RepositoryException {
          setAC(group, root, namePathMapper);
      }
focal_method.class_method_signature: AccessControlAction.onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_method.full_signature: @Override public void onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_method.identifier: onCreate
focal_method.invocations: setAC
focal_method.modifiers: @Override public
focal_method.parameters: (@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)
focal_method.return: void
focal_method.signature: void onCreate(@NotNull Group group, @NotNull Root root, @NotNull NamePathMapper namePathMapper)