class TomcatUserManager extends BaseTomcatManager implements UserManager,
                                                                    ContextualManager {

    @Override
    public User update(User entity) throws SecurityManagementException {
        checkNotNull("entity",
                     entity);

        MemoryUserDatabase userDatabase = getDatabase();
        try {
            org.apache.catalina.User user = getUser(userDatabase,
                                                    entity.getIdentifier());
            String fName = entity.getProperty(ATTRIBUTE_USER_FULLNAME);
            user.setFullName(fName != null ? fName : "");
            saveDatabase(userDatabase);
            return entity;
        } finally {
            closeDatabase(userDatabase);
        }
    }

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

}