} else {
// this can happen if we are still starting up.
user = JCRUserManagerProvider.getInstance().lookupUser(name);
}
if ((token != null) || user.verifyPassword(key)) {
principals.add(new JahiaPrincipal(name));
if (user.isAdminMember(0)) {
principals.add(new AdminPrincipal(name));
}
}