class SimpleEngineManager implements EngineManager {

    @Override
    public Optional<Role> getRole(String engine, String roleName) {
        log.debug("Getting roles with " + engine);
        if (engines.containsKey(engine)) {
            return engines.get(engine).getRole(roleName);
        }
        return Optional.empty();
    }

}