You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ro...@apache.org on 2015/02/19 17:22:37 UTC
svn commit: r1660926 - in /lucene/dev/branches/branch_5x: ./ solr/
solr/solrj/
solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
Author: romseygeek
Date: Thu Feb 19 16:22:37 2015
New Revision: 1660926
URL: http://svn.apache.org/r1660926
Log:
SOLR-7125: Add note to javadocs
Modified:
lucene/dev/branches/branch_5x/ (props changed)
lucene/dev/branches/branch_5x/solr/ (props changed)
lucene/dev/branches/branch_5x/solr/solrj/ (props changed)
lucene/dev/branches/branch_5x/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
Modified: lucene/dev/branches/branch_5x/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java
URL: http://svn.apache.org/viewvc/lucene/dev/branches/branch_5x/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java?rev=1660926&r1=1660925&r2=1660926&view=diff
==============================================================================
--- lucene/dev/branches/branch_5x/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java (original)
+++ lucene/dev/branches/branch_5x/solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java Thu Feb 19 16:22:37 2015
@@ -477,6 +477,11 @@ public class CloudSolrClient extends Sol
/**
* Upload a set of config files to Zookeeper and give it a name
+ *
+ * NOTE: You should only allow trusted users to upload configs. If you
+ * are allowing client access to zookeeper, you should protect the
+ * /configs node against unauthorised write access.
+ *
* @param configPath {@link java.nio.file.Path} to the config files
* @param configName the name of the config
* @throws IOException if an IO error occurs