Class HadoopAuthPlugin

java.lang.Object
org.apache.solr.security.AuthenticationPlugin
org.apache.solr.security.hadoop.HadoopAuthPlugin
All Implemented Interfaces:
AutoCloseable, SolrInfoBean, SolrMetricProducer
Direct Known Subclasses:
ConfigurableInternodeAuthHadoopPlugin

@Deprecated(since="9.8") public class HadoopAuthPlugin extends AuthenticationPlugin
Deprecated.
The Hadoop Auth Plugin will be removed in Solr 10 with no replacement.
This class implements a generic plugin which can use authentication schemes exposed by the Hadoop framework. This plugin supports following features - integration with authentication mechanisms (e.g. kerberos) - Delegation token support - Proxy users (or secure impersonation) support

This plugin enables defining configuration parameters required by the underlying Hadoop authentication mechanism. These configuration parameters can either be specified as a Java system property or the default value can be specified as part of the plugin configuration.

The proxy users are configured by specifying relevant Hadoop configuration parameters. Please note that the delegation token support must be enabled for using the proxy users support.

Note - this class does not support configuring authentication mechanism for Solr internal communication. For this purpose ConfigurableInternodeAuthHadoopPlugin should be used. If this plugin is used in the SolrCloud mode, it will use PKI based authentication mechanism for Solr internal communication.

  • Field Details

    • PROXY_USER_CONFIGS

      public static final String PROXY_USER_CONFIGS
      Deprecated.
      A property which configures proxy users for the underlying Hadoop authentication mechanism. This configuration is expressed as a collection of key-value pairs (i.e. property-name : value).
      See Also:
    • coreContainer

      protected final CoreContainer coreContainer
      Deprecated.
  • Constructor Details

    • HadoopAuthPlugin

      public HadoopAuthPlugin(CoreContainer coreContainer)
      Deprecated.
  • Method Details