@Override
    protected Injector create() throws GuacamoleException {

        // Get local environment
        PostgreSQLEnvironment environment = new PostgreSQLEnvironment();

        // Set up Guice injector
        return Guice.createInjector(
            new JDBCAuthenticationProviderModule(environment),
            new PostgreSQLAuthenticationProviderModule(environment)
        );

    }
JDBCInjectorProvider implementation which configures Guice injections for
connecting to a PostgreSQL database based on PostgreSQL-specific options
provided via guacamole.properties.
extensions/guacamole-auth-jdbc/modules/guacamole-auth-jdbc-postgresql/src/main/java/org/apache/guacamole/auth/postgresql/PostgreSQLInjectorProvider.java