class TomcatUserManager extends BaseTomcatManager implements UserManager,
                                                                    ContextualManager {

    @Override
    public void changePassword(String username,
                               String newPassword) throws SecurityManagementException {
        checkNotNull("username",
                     username);

        MemoryUserDatabase userDatabase = getDatabase();
        try {
            org.apache.catalina.User user = getUser(userDatabase,
                                                    username);
            user.setPassword(newPassword);
            saveDatabase(userDatabase);
        } finally {
            closeDatabase(userDatabase);
        }
    }

    public  TomcatUserManager();
    public  TomcatUserManager(final Map<String, String> gitPrefs);
    public  TomcatUserManager(final ConfigProperties gitPrefs);

}