TomcatUserManager extends BaseTomcatManager implements UserManager,
                                                                    ContextualManager { @Override public UserManagerSettings getSettings() { final Map<Capability, CapabilityStatus> capabilityStatusMap = new HashMap<Capability, CapabilityStatus>(8); for (final Capability capability : SecurityManagementUtils.USERS_CAPABILITIES) { capabilityStatusMap.put(capability, getCapabilityStatus(capability)); } return new UserManagerSettingsImpl(capabilityStatusMap, USER_ATTRIBUTES); } 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 testAttributes() { final Collection<UserManager.UserAttribute> USER_ATTRIBUTES = Arrays.asList(BaseTomcatManager.USER_FULLNAME); Collection<UserManager.UserAttribute> attributes = usersManager.getSettings().getSupportedAttributes(); assertEquals(attributes, USER_ATTRIBUTES); }