Class InternalRealms
java.lang.Object
org.elasticsearch.xpack.security.authc.InternalRealms
Provides a single entry point into dealing with all standard XPack security
realms.
This class does not handle extensions.-
Method Summary
Modifier and TypeMethodDescriptionstatic List<org.elasticsearch.bootstrap.BootstrapCheck>getBootstrapChecks(org.elasticsearch.common.settings.Settings globalSettings, org.elasticsearch.env.Environment env) static Collection<String>Deprecated.Use of this method (other than in tests) is discouraged.getFactories(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService, org.elasticsearch.xpack.core.ssl.SSLService sslService, NativeUsersStore nativeUsersStore, NativeRoleMappingStore nativeRoleMappingStore, SecurityIndexManager securityIndex) Createsfactoriesfor each internal realm type.
-
Method Details
-
getConfigurableRealmsTypes
Deprecated.Use of this method (other than in tests) is discouraged.The set of all internal realm types, excludingReservedRealm.TYPE -
getFactories
public static Map<String,org.elasticsearch.xpack.core.security.authc.Realm.Factory> getFactories(org.elasticsearch.threadpool.ThreadPool threadPool, org.elasticsearch.watcher.ResourceWatcherService resourceWatcherService, org.elasticsearch.xpack.core.ssl.SSLService sslService, NativeUsersStore nativeUsersStore, NativeRoleMappingStore nativeRoleMappingStore, SecurityIndexManager securityIndex) Createsfactoriesfor each internal realm type. This excludes theReservedRealm, as it cannot be created dynamically.- Returns:
- A map from realm-type to
Factory
-
getBootstrapChecks
public static List<org.elasticsearch.bootstrap.BootstrapCheck> getBootstrapChecks(org.elasticsearch.common.settings.Settings globalSettings, org.elasticsearch.env.Environment env)
-