TomcatUserManager extends BaseTomcatManager implements UserManager,
                                                                    ContextualManager { @Override public User get(String identifier) throws SecurityManagementException { MemoryUserDatabase userDatabase = getDatabase(); try { org.apache.catalina.User user = getUser(userDatabase, identifier); Iterator<Role> groups = user.getRoles(); User u = createUser(user, groups); u.setProperty(ATTRIBUTE_USER_FULLNAME, user.getFullName() != null ? user.getFullName() : ""); return u; } finally { closeDatabase(userDatabase); } } TomcatUserManager();  TomcatUserManager(final Map<String, String> gitPrefs);  TomcatUserManager(final ConfigProperties gitPrefs); @Override void initialize(final UserSystemManager userSystemManager); @Override void destroy(); @Override SearchResponse<User> search(SearchRequest request); @Override User get(String identifier); @Override List<User> getAll(); @Override User create(User entity); @Override User update(User entity); @Override void delete(String... identifiers); @Override UserManagerSettings getSettings(); @Override void assignGroups(String username,
                             Collection<String> groups); @Override void assignRoles(String username,
                            Collection<String> roles); @Override void changePassword(String username,
                               String newPassword);  }
@Test public void testGetAdmin() { User user = usersManager.get(ADMIN); assertUser(user, ADMIN); }
@Test public void testGetUser1() { User user = usersManager.get("user1"); assertUser(user, "user1"); }
@Test public void testGetUser2() { User user = usersManager.get("user2"); assertUser(user, "user2"); }
@Test public void testGetUser3() { User user = usersManager.get("user3"); assertUser(user, "user3"); }