Class InternalRealms

java.lang.Object
org.elasticsearch.xpack.security.authc.InternalRealms

public final class InternalRealms extends Object
Provides a single entry point into dealing with all standard XPack security realms. This class does not handle extensions.
See Also:
  • Method Details

    • getConfigurableRealmsTypes

      @Deprecated public static Collection<String> getConfigurableRealmsTypes()
      Deprecated.
      Use of this method (other than in tests) is discouraged.
      The set of all internal realm types, excluding ReservedRealm.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)
      Creates factories for each internal realm type. This excludes the ReservedRealm, 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)