@Override
    protected Optional<Module> getChildInjectorModule() {
        return Optional.of(new AppModule());
    }
Run the command as the processing user
stroom-app/src/main/java/stroom/app/commands/AbstractStroomAppCommand.java