Module org.elasticsearch.security
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.- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<BootstrapCheck> getBootstrapChecks(Settings globalSettings, Environment env) static Collection<String> Deprecated.Use of this method (other than in tests) is discouraged.static Map<String, Realm.Factory> getFactories(ThreadPool threadPool, Settings settings, ResourceWatcherService resourceWatcherService, SSLService sslService, NativeUsersStore nativeUsersStore, UserRoleMapper userRoleMapper, 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,Realm.Factory> getFactories(ThreadPool threadPool, Settings settings, ResourceWatcherService resourceWatcherService, SSLService sslService, NativeUsersStore nativeUsersStore, UserRoleMapper userRoleMapper, 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
-