@Test public void testIdList() throws Exception { UserManager userLocator = this.lookup(UserManager.class, RemoteUserTokenAuthenticatingRealm.REALM_NAME); Set<String> ids = userLocator.listUserIds(); Assert.assertTrue(ids.contains("johnson")); Assert.assertTrue(ids.contains("feldstein")); Assert.assertTrue(ids.contains("rome")); Assert.assertTrue(ids.contains("james")); Assert.assertTrue(ids.contains("jdoe")); Assert.assertTrue(ids.contains("role_test2")); Assert.assertTrue(ids.contains("role_test3")); Assert.assertTrue(ids.contains("role_test1")); Assert.assertEquals(8, ids.size()); }
@Override public Set<String> listUserIds() { final Set<String> userIds = this.userDao.listUserIds(); logger.debug("listUserIds: {}", userIds); return userIds; }
RemoteUserTokenUserManager extends AbstractReadOnlyUserManager { @Override public Set<String> listUserIds() { final Set<String> userIds = this.userDao.listUserIds(); logger.debug("listUserIds: {}", userIds); return userIds; } }
RemoteUserTokenUserManager extends AbstractReadOnlyUserManager { @Override public Set<String> listUserIds() { final Set<String> userIds = this.userDao.listUserIds(); logger.debug("listUserIds: {}", userIds); return userIds; }  }
RemoteUserTokenUserManager extends AbstractReadOnlyUserManager { @Override public Set<String> listUserIds() { final Set<String> userIds = this.userDao.listUserIds(); logger.debug("listUserIds: {}", userIds); return userIds; }  @Override String getSource(); @Override String getAuthenticationRealmName(); @Override User getUser(String userId); @Override Set<String> listUserIds(); @Override Set<User> listUsers(); @Override Set<User> searchUsers(UserSearchCriteria criteria); }
RemoteUserTokenUserManager extends AbstractReadOnlyUserManager { @Override public Set<String> listUserIds() { final Set<String> userIds = this.userDao.listUserIds(); logger.debug("listUserIds: {}", userIds); return userIds; }  @Override String getSource(); @Override String getAuthenticationRealmName(); @Override User getUser(String userId); @Override Set<String> listUserIds(); @Override Set<User> listUsers(); @Override Set<User> searchUsers(UserSearchCriteria criteria);  }