You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ac...@apache.org on 2019/07/15 06:37:01 UTC
[camel] branch master updated: CAMEL-13747 - Regen
This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/master by this push:
new 3ce312a CAMEL-13747 - Regen
3ce312a is described below
commit 3ce312aff2bf0ccfc8698b09483979ad9f236506
Author: Andrea Cosentino <an...@gmail.com>
AuthorDate: Mon Jul 15 08:36:31 2019 +0200
CAMEL-13747 - Regen
---
.../endpoint/dsl/SolrEndpointBuilderFactory.java | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/SolrEndpointBuilderFactory.java b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/SolrEndpointBuilderFactory.java
index 15186fd..6d6b030 100644
--- a/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/SolrEndpointBuilderFactory.java
+++ b/core/camel-endpointdsl/src/main/java/org/apache/camel/builder/endpoint/dsl/SolrEndpointBuilderFactory.java
@@ -264,6 +264,28 @@ public interface SolrEndpointBuilderFactory {
return this;
}
/**
+ * Sets password for basic auth plugin enabled servers.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ */
+ default SolrEndpointBuilder password(String password) {
+ setProperty("password", password);
+ return this;
+ }
+ /**
+ * Sets username for basic auth plugin enabled servers.
+ *
+ * The option is a: <code>java.lang.String</code> type.
+ *
+ * Group: security
+ */
+ default SolrEndpointBuilder username(String username) {
+ setProperty("username", username);
+ return this;
+ }
+ /**
* Set the collection name which the solrCloud server could use.
*
* The option is a: <code>java.lang.String</code> type.