@Override
    protected void configure() {

        // Bind core implementations of guacamole-ext classes
        bind(AuthenticationProvider.class).toInstance(authProvider);
        bind(Environment.class).toInstance(environment);

        // Bind LDAP-specific services
        bind(ConfigurationService.class);
        bind(ConnectionService.class);
        bind(LDAPConnectionService.class);
        bind(ObjectQueryService.class);
        bind(UserGroupService.class);
        bind(UserService.class);

    }
Creates a new LDAP authentication provider module which configures
injection for the LDAPAuthenticationProvider.

@param authProvider
    The AuthenticationProvider for which injection is being configured.

@throws GuacamoleException
    If an error occurs while retrieving the Guacamole server
    environment.
extensions/guacamole-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/LDAPAuthenticationProviderModule.java