test_class.file: oak-security-spi/src/test/java/org/apache/jackrabbit/oak/spi/security/user/util/UserUtilTest.java
test_class.identifier: UserUtilTest
test_case.body: @Test
      public void testGetTypeFromNtReturnsNull() {
          // abstract primary type 'rep:Authorizable'
          assertNull(UserUtil.getType(UserConstants.NT_REP_AUTHORIZABLE));
  
          // another node type name
          assertNull(UserUtil.getType(JcrConstants.NT_FILE));
  
          // null or empty name
          assertNull(UserUtil.getType((String) null));
          assertNull(UserUtil.getType(""));
      }
test_case.class_method_signature: UserUtilTest.testGetTypeFromNtReturnsNull()
test_case.full_signature: @Test public void testGetTypeFromNtReturnsNull()
test_case.identifier: testGetTypeFromNtReturnsNull
test_case.invocations: assertNull getType assertNull getType assertNull getType assertNull getType
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetTypeFromNtReturnsNull()
focal_class.file: oak-security-spi/src/main/java/org/apache/jackrabbit/oak/spi/security/user/util/UserUtil.java
focal_class.identifier: UserUtil
focal_class.interfaces: implements UserConstants
focal_class.class_method_signature: UserUtil.UserUtil()
focal_class.full_signature: private  UserUtil()
focal_class.identifier: UserUtil
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.signature:  UserUtil()
focal_class.class_method_signature: UserUtil.isAdmin(@NotNull ConfigurationParameters parameters, @NotNull String userId)
focal_class.full_signature: public static boolean isAdmin(@NotNull ConfigurationParameters parameters, @NotNull String userId)
focal_class.identifier: isAdmin
focal_class.modifiers: public static
focal_class.parameters: (@NotNull ConfigurationParameters parameters, @NotNull String userId)
focal_class.return: boolean
focal_class.signature: boolean isAdmin(@NotNull ConfigurationParameters parameters, @NotNull String userId)
focal_class.class_method_signature: UserUtil.getAdminId(@NotNull ConfigurationParameters parameters)
focal_class.full_signature: @NotNull public static String getAdminId(@NotNull ConfigurationParameters parameters)
focal_class.identifier: getAdminId
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull ConfigurationParameters parameters)
focal_class.return: String
focal_class.signature: String getAdminId(@NotNull ConfigurationParameters parameters)
focal_class.class_method_signature: UserUtil.getAnonymousId(@NotNull ConfigurationParameters parameters)
focal_class.full_signature: @NotNull public static String getAnonymousId(@NotNull ConfigurationParameters parameters)
focal_class.identifier: getAnonymousId
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull ConfigurationParameters parameters)
focal_class.return: String
focal_class.signature: String getAnonymousId(@NotNull ConfigurationParameters parameters)
focal_class.class_method_signature: UserUtil.isType(@Nullable Tree authorizableTree, @NotNull AuthorizableType type)
focal_class.full_signature: public static boolean isType(@Nullable Tree authorizableTree, @NotNull AuthorizableType type)
focal_class.identifier: isType
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Tree authorizableTree, @NotNull AuthorizableType type)
focal_class.return: boolean
focal_class.signature: boolean isType(@Nullable Tree authorizableTree, @NotNull AuthorizableType type)
focal_class.class_method_signature: UserUtil.getType(@NotNull Tree authorizableNode)
focal_class.full_signature: @Nullable public static AuthorizableType getType(@NotNull Tree authorizableNode)
focal_class.identifier: getType
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@NotNull Tree authorizableNode)
focal_class.return: AuthorizableType
focal_class.signature: AuthorizableType getType(@NotNull Tree authorizableNode)
focal_class.class_method_signature: UserUtil.getType(@Nullable String primaryTypeName)
focal_class.full_signature: @Nullable public static AuthorizableType getType(@Nullable String primaryTypeName)
focal_class.identifier: getType
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nullable String primaryTypeName)
focal_class.return: AuthorizableType
focal_class.signature: AuthorizableType getType(@Nullable String primaryTypeName)
focal_class.class_method_signature: UserUtil.isSystemUser(@Nullable Tree authorizableTree)
focal_class.full_signature: public static boolean isSystemUser(@Nullable Tree authorizableTree)
focal_class.identifier: isSystemUser
focal_class.modifiers: public static
focal_class.parameters: (@Nullable Tree authorizableTree)
focal_class.return: boolean
focal_class.signature: boolean isSystemUser(@Nullable Tree authorizableTree)
focal_class.class_method_signature: UserUtil.getAuthorizableRootPath(@NotNull ConfigurationParameters parameters,
                                                   @Nullable AuthorizableType type)
focal_class.full_signature: @Nullable public static String getAuthorizableRootPath(@NotNull ConfigurationParameters parameters,
                                                   @Nullable AuthorizableType type)
focal_class.identifier: getAuthorizableRootPath
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@NotNull ConfigurationParameters parameters,
                                                   @Nullable AuthorizableType type)
focal_class.return: String
focal_class.signature: String getAuthorizableRootPath(@NotNull ConfigurationParameters parameters,
                                                   @Nullable AuthorizableType type)
focal_class.class_method_signature: UserUtil.getAuthorizableId(@NotNull Tree authorizableTree)
focal_class.full_signature: @Nullable public static String getAuthorizableId(@NotNull Tree authorizableTree)
focal_class.identifier: getAuthorizableId
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@NotNull Tree authorizableTree)
focal_class.return: String
focal_class.signature: String getAuthorizableId(@NotNull Tree authorizableTree)
focal_class.class_method_signature: UserUtil.getAuthorizableId(@NotNull Tree authorizableTree, @NotNull AuthorizableType type)
focal_class.full_signature: @NotNull public static String getAuthorizableId(@NotNull Tree authorizableTree, @NotNull AuthorizableType type)
focal_class.identifier: getAuthorizableId
focal_class.modifiers: @NotNull public static
focal_class.parameters: (@NotNull Tree authorizableTree, @NotNull AuthorizableType type)
focal_class.return: String
focal_class.signature: String getAuthorizableId(@NotNull Tree authorizableTree, @NotNull AuthorizableType type)
focal_class.class_method_signature: UserUtil.castAuthorizable(@Nullable Authorizable authorizable, Class<T> authorizableClass)
focal_class.full_signature: @Nullable public static T castAuthorizable(@Nullable Authorizable authorizable, Class<T> authorizableClass)
focal_class.identifier: castAuthorizable
focal_class.modifiers: @Nullable public static
focal_class.parameters: (@Nullable Authorizable authorizable, Class<T> authorizableClass)
focal_class.return: T
focal_class.signature: T castAuthorizable(@Nullable Authorizable authorizable, Class<T> authorizableClass)
focal_class.class_method_signature: UserUtil.getImportBehavior(@NotNull ConfigurationParameters config)
focal_class.full_signature: public static int getImportBehavior(@NotNull ConfigurationParameters config)
focal_class.identifier: getImportBehavior
focal_class.modifiers: public static
focal_class.parameters: (@NotNull ConfigurationParameters config)
focal_class.return: int
focal_class.signature: int getImportBehavior(@NotNull ConfigurationParameters config)
focal_method.body: @Nullable
      public static AuthorizableType getType(@NotNull Tree authorizableNode) {
          String ntName = TreeUtil.getPrimaryTypeName(authorizableNode);
          return getType(ntName);
      }
focal_method.class_method_signature: UserUtil.getType(@NotNull Tree authorizableNode)
focal_method.full_signature: @Nullable public static AuthorizableType getType(@NotNull Tree authorizableNode)
focal_method.identifier: getType
focal_method.invocations: getPrimaryTypeName getType
focal_method.modifiers: @Nullable public static
focal_method.parameters: (@NotNull Tree authorizableNode)
focal_method.return: AuthorizableType
focal_method.signature: AuthorizableType getType(@NotNull Tree authorizableNode)