This is an automated email from the ASF dual-hosted git repository. rdhabalia pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push: new 574ebde Fix: ignore auth flag for websocket-proxy to broker authentication (#1106) 574ebde is described below commit 574ebdebaf0df57da7ee3f3fd19496124ae8cae7 Author: Rajan Dhabalia <rdhaba...@apache.org> AuthorDate: Wed Jan 24 21:00:43 2018 -0800 Fix: ignore auth flag for websocket-proxy to broker authentication (#1106) --- .../src/main/java/org/apache/pulsar/websocket/WebSocketService.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/WebSocketService.java b/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/WebSocketService.java index 28a0ed5..02a589f 100644 --- a/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/WebSocketService.java +++ b/pulsar-websocket/src/main/java/org/apache/pulsar/websocket/WebSocketService.java @@ -184,7 +184,8 @@ public class WebSocketService implements Closeable { clientConf.setIoThreads(config.getWebSocketNumIoThreads()); clientConf.setConnectionsPerBroker(config.getWebSocketConnectionsPerBroker()); - if (config.isAuthenticationEnabled()) { + if (isNotBlank(config.getBrokerClientAuthenticationPlugin()) + && isNotBlank(config.getBrokerClientAuthenticationParameters())) { clientConf.setAuthentication(config.getBrokerClientAuthenticationPlugin(), config.getBrokerClientAuthenticationParameters()); } -- To stop receiving notification emails like this one, please contact rdhaba...@apache.org.