Class HadoopAuthPlugin

  • All Implemented Interfaces:
    AutoCloseable, SolrInfoBean, SolrMetricProducer
    Direct Known Subclasses:
    ConfigurableInternodeAuthHadoopPlugin

    public class HadoopAuthPlugin
    extends AuthenticationPlugin
    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 Detail

      • PROXY_USER_CONFIGS

        public static final String PROXY_USER_CONFIGS
        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:
        Constant Field Values
    • Constructor Detail

      • HadoopAuthPlugin

        public HadoopAuthPlugin​(CoreContainer coreContainer)