test_class.declarator: userMgr
test_class.modifier: private
test_class.original_string: private UserManager userMgr;
test_class.type: UserManager
test_class.var_name: userMgr
test_class.declarator: uid
test_class.modifier: private
test_class.original_string: private String uid;
test_class.type: String
test_class.var_name: uid
test_class.file: oak-core/src/test/java/org/apache/jackrabbit/oak/security/user/SystemUserImplTest.java
test_class.identifier: SystemUserImplTest
test_class.superclass: extends AbstractSecurityTest
test_case.body: @Test
      public void testGetPrincipal() throws Exception {
          User user = createUser(null);
          assertTrue(user.getPrincipal() instanceof SystemUserPrincipal);
      }
test_case.class_method_signature: SystemUserImplTest.testGetPrincipal()
test_case.full_signature: @Test public void testGetPrincipal()
test_case.identifier: testGetPrincipal
test_case.invocations: createUser assertTrue getPrincipal
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testGetPrincipal()
focal_class.file: oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/SystemUserImpl.java
focal_class.identifier: SystemUserImpl
focal_class.class_method_signature: SystemUserImpl.SystemUserImpl(@NotNull String id, @NotNull Tree tree, @NotNull UserManagerImpl userManager)
focal_class.full_signature:   SystemUserImpl(@NotNull String id, @NotNull Tree tree, @NotNull UserManagerImpl userManager)
focal_class.identifier: SystemUserImpl
focal_class.parameters: (@NotNull String id, @NotNull Tree tree, @NotNull UserManagerImpl userManager)
focal_class.signature:  SystemUserImpl(@NotNull String id, @NotNull Tree tree, @NotNull UserManagerImpl userManager)
focal_class.class_method_signature: SystemUserImpl.checkValidTree(@NotNull Tree tree)
focal_class.full_signature: @Override void checkValidTree(@NotNull Tree tree)
focal_class.identifier: checkValidTree
focal_class.modifiers: @Override
focal_class.parameters: (@NotNull Tree tree)
focal_class.return: void
focal_class.signature: void checkValidTree(@NotNull Tree tree)
focal_class.class_method_signature: SystemUserImpl.getPrincipal()
focal_class.full_signature: @NotNull @Override public Principal getPrincipal()
focal_class.identifier: getPrincipal
focal_class.modifiers: @NotNull @Override public
focal_class.parameters: ()
focal_class.return: Principal
focal_class.signature: Principal getPrincipal()
focal_class.class_method_signature: SystemUserImpl.isSystemUser()
focal_class.full_signature: @Override public boolean isSystemUser()
focal_class.identifier: isSystemUser
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean isSystemUser()
focal_class.class_method_signature: SystemUserImpl.changePassword(@Nullable String password)
focal_class.full_signature: @Override public void changePassword(@Nullable String password)
focal_class.identifier: changePassword
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String password)
focal_class.return: void
focal_class.signature: void changePassword(@Nullable String password)
focal_class.class_method_signature: SystemUserImpl.changePassword(@Nullable String password, @NotNull String oldPassword)
focal_class.full_signature: @Override public void changePassword(@Nullable String password, @NotNull String oldPassword)
focal_class.identifier: changePassword
focal_class.modifiers: @Override public
focal_class.parameters: (@Nullable String password, @NotNull String oldPassword)
focal_class.return: void
focal_class.signature: void changePassword(@Nullable String password, @NotNull String oldPassword)
focal_class.superclass: extends UserImpl
focal_method.body: @NotNull
      @Override
      public Principal getPrincipal() throws RepositoryException {
          if (isAdmin()) {
              return new AdminPrincipalImpl(getPrincipalName(), getTree(), getUserManager().getNamePathMapper());
          } else {
              return new SystemUserPrincipalImpl(getPrincipalName(), getTree(), getUserManager().getNamePathMapper());
          }
      }
focal_method.class_method_signature: SystemUserImpl.getPrincipal()
focal_method.full_signature: @NotNull @Override public Principal getPrincipal()
focal_method.identifier: getPrincipal
focal_method.invocations: isAdmin getPrincipalName getTree getNamePathMapper getUserManager getPrincipalName getTree getNamePathMapper getUserManager
focal_method.modifiers: @NotNull @Override public
focal_method.parameters: ()
focal_method.return: Principal
focal_method.signature: Principal getPrincipal()