org.codelibs.elasticsearch.auth.module.AuthModule Maven / Gradle / Ivy
package org.codelibs.elasticsearch.auth.module;
import org.codelibs.elasticsearch.auth.security.IndexAuthenticator;
import org.codelibs.elasticsearch.auth.service.AuthService;
import org.elasticsearch.common.inject.AbstractModule;
public class AuthModule extends AbstractModule {
@Override
protected void configure() {
bind(AuthService.class).asEagerSingleton();
bind(IndexAuthenticator.class).asEagerSingleton();
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy