class TomcatUserManager extends BaseTomcatManager implements UserManager,
                                                                    ContextualManager {

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

        MemoryUserDatabase userDatabase = getDatabase();
        try {
            String username = entity.getIdentifier();
            String fullName = entity.getProperty(ATTRIBUTE_USER_FULLNAME);
            userDatabase.createUser(username,
                                    "",
                                    fullName != null ? fullName : "");
            saveDatabase(userDatabase);
            return entity;
        } finally {
            closeDatabase(userDatabase);
        }
    }

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

}