@Override
    protected void configure() {

        // Bind Guacamole server environment
        bind(Environment.class).toInstance(environment);

        // Bind factory for creating UserContexts
        install(new FactoryModuleBuilder()
                .implement(UserContext.class, VaultUserContext.class)
                .build(VaultUserContextFactory.class));

        // Bind all other implementation-specific interfaces
        configureVault();

    }
Returns the instance of the Guacamole server environment which will be
exposed to other classes via dependency injection.

@return
    The instance of the Guacamole server environment which will be
    exposed via dependency injection.
extensions/guacamole-vault/modules/guacamole-vault-base/src/main/java/org/apache/guacamole/vault/VaultAuthenticationProviderModule.java