This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch branch_9x
in repository https://gitbox.apache.org/repos/asf/solr.git


The following commit(s) were added to refs/heads/branch_9x by this push:
     new 4f7e5eb6734 SOLR-17540: mark deprecation and removal of Hadoop Auth 
(#3042)
4f7e5eb6734 is described below

commit 4f7e5eb6734f552a8016d3546e2fc7c8d6472fa3
Author: Eric Pugh <[email protected]>
AuthorDate: Fri Jan 17 20:33:37 2025 -0500

    SOLR-17540: mark deprecation and removal of Hadoop Auth (#3042)
    
    * Communicate the removed state of Hadoop based Auth
---
 .../src/java/org/apache/solr/security/hadoop/HadoopAuthPlugin.java     | 3 +++
 .../modules/deployment-guide/pages/hadoop-authentication-plugin.adoc   | 2 ++
 2 files changed, 5 insertions(+)

diff --git 
a/solr/modules/hadoop-auth/src/java/org/apache/solr/security/hadoop/HadoopAuthPlugin.java
 
b/solr/modules/hadoop-auth/src/java/org/apache/solr/security/hadoop/HadoopAuthPlugin.java
index f878ef49b2c..c85bd888334 100644
--- 
a/solr/modules/hadoop-auth/src/java/org/apache/solr/security/hadoop/HadoopAuthPlugin.java
+++ 
b/solr/modules/hadoop-auth/src/java/org/apache/solr/security/hadoop/HadoopAuthPlugin.java
@@ -62,7 +62,10 @@ import org.slf4j.LoggerFactory;
  * communication. For this purpose {@linkplain 
ConfigurableInternodeAuthHadoopPlugin} should be
  * used. If this plugin is used in the SolrCloud mode, it will use PKI based 
authentication
  * mechanism for Solr internal communication.
+ *
+ * @deprecated The Hadoop Auth Plugin will be removed in Solr 10 with no 
replacement.
  */
+@Deprecated(since = "9.8")
 public class HadoopAuthPlugin extends AuthenticationPlugin {
   private static final Logger log = 
LoggerFactory.getLogger(MethodHandles.lookup().lookupClass());
 
diff --git 
a/solr/solr-ref-guide/modules/deployment-guide/pages/hadoop-authentication-plugin.adoc
 
b/solr/solr-ref-guide/modules/deployment-guide/pages/hadoop-authentication-plugin.adoc
index 24929cdcde1..53084fd5485 100644
--- 
a/solr/solr-ref-guide/modules/deployment-guide/pages/hadoop-authentication-plugin.adoc
+++ 
b/solr/solr-ref-guide/modules/deployment-guide/pages/hadoop-authentication-plugin.adoc
@@ -18,6 +18,8 @@
 
 The Hadoop authentication plugin enables Solr to use the 
https://hadoop.apache.org/docs/stable/hadoop-auth/index.html[Hadoop 
authentication library] for securing Solr nodes.
 
+IMPORTANT: The Hadoop authentication plugin has been deprecated and will be 
removed in Solr 10.
+
 This authentication plugin is a thin wrapper that delegates all functionality 
to the Hadoop authentication library.
 All configuration parameters for the library are passed through the plugin.
 

Reply via email to