You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by si...@apache.org on 2019/07/21 06:17:22 UTC
[pulsar] branch master updated: fix: add anonymous role to proxy
configuration (#4733)
This is an automated email from the ASF dual-hosted git repository.
sijie pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new 26fc4ef fix: add anonymous role to proxy configuration (#4733)
26fc4ef is described below
commit 26fc4efe5175398068d50d16cea61560ff7b8a0c
Author: Boyang Jerry Peng <je...@gmail.com>
AuthorDate: Sat Jul 20 23:17:17 2019 -0700
fix: add anonymous role to proxy configuration (#4733)
---
.../java/org/apache/pulsar/proxy/server/ProxyConfiguration.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java b/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
index 442ea57..c0f7096 100644
--- a/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
+++ b/pulsar-proxy/src/main/java/org/apache/pulsar/proxy/server/ProxyConfiguration.java
@@ -253,6 +253,12 @@ public class ProxyConfiguration implements PulsarConfiguration {
)
private boolean tlsEnabledWithBroker = false;
+ @FieldContext(
+ category = CATEGORY_AUTHORIZATION,
+ doc = "When this parameter is not empty, unauthenticated users perform as anonymousUserRole"
+ )
+ private String anonymousUserRole = null;
+
/***** --- TLS --- ****/
@Deprecated