class SimpleEngineManager implements EngineManager {

    @Override
    public Set<Role> getUserRoles(String engine, String username) {
        log.debug("Checking user roles with " + engine);
        if (engines.containsKey(engine)) {
            return engines.get(engine).getUserRoles(username);
        }
        return new HashSet<>();
    }

}