presto-password-authenticators/src/main/java/io/prestosql/plugin/password/LdapAuthenticatorFactory.java/LdapAuthenticatorFactory/create
class LdapAuthenticatorFactory:    @Override
    public PasswordAuthenticator create(Map<String, String> config)
    {
        Bootstrap app = new Bootstrap(
                binder -> {
                    configBinder(binder).bindConfig(LdapConfig.class);
                    binder.bind(LdapAuthenticator.class).in(Scopes.SINGLETON);
                });

        Injector injector = app
                .strictConfig()
                .doNotInitializeLogging()
                .setRequiredConfigurationProperties(config)
                .initialize();

        return injector.getInstance(LdapAuthenticator.class);
    }