You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2018/04/04 19:22:48 UTC

qpid-dispatch git commit: DISPATCH-918 - Renamed hostname to realm in authServicePlugin

Repository: qpid-dispatch
Updated Branches:
  refs/heads/master 7237d6930 -> ef9887cc7


DISPATCH-918 - Renamed hostname to realm in authServicePlugin


Project: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/commit/ef9887cc
Tree: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/tree/ef9887cc
Diff: http://git-wip-us.apache.org/repos/asf/qpid-dispatch/diff/ef9887cc

Branch: refs/heads/master
Commit: ef9887cc75a89896c307712f72b41834e937f8c0
Parents: 7237d69
Author: Ganesh Murthy <gm...@redhat.com>
Authored: Wed Apr 4 15:22:35 2018 -0400
Committer: Ganesh Murthy <gm...@redhat.com>
Committed: Wed Apr 4 15:22:35 2018 -0400

----------------------------------------------------------------------
 python/qpid_dispatch/management/qdrouter.json | 2 +-
 src/connection_manager.c                      | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/ef9887cc/python/qpid_dispatch/management/qdrouter.json
----------------------------------------------------------------------
diff --git a/python/qpid_dispatch/management/qdrouter.json b/python/qpid_dispatch/management/qdrouter.json
index 82aa806..e7ea697 100644
--- a/python/qpid_dispatch/management/qdrouter.json
+++ b/python/qpid_dispatch/management/qdrouter.json
@@ -681,7 +681,7 @@
                     "create": true
 
                 },                
-                "hostname": {
+                "realm": {
                     "type": "string",
                     "description": "Value to set for hostname field on sasl-init",
                     "required": false,

http://git-wip-us.apache.org/repos/asf/qpid-dispatch/blob/ef9887cc/src/connection_manager.c
----------------------------------------------------------------------
diff --git a/src/connection_manager.c b/src/connection_manager.c
index 4ce145d..4b4794e 100644
--- a/src/connection_manager.c
+++ b/src/connection_manager.c
@@ -601,7 +601,7 @@ qd_config_sasl_plugin_t *qd_dispatch_configure_sasl_plugin(qd_dispatch_t *qd, qd
         qd_log(cm->log_source, QD_LOG_WARNING, "Attribute authService of entity authServicePlugin has been deprecated. Use host and port instead.");
     }
 
-    sasl_plugin->sasl_init_hostname         = qd_entity_opt_string(entity, "hostname", 0); CHECK();
+    sasl_plugin->sasl_init_hostname         = qd_entity_opt_string(entity, "realm", 0); CHECK();
     sasl_plugin->auth_ssl_profile           = qd_entity_opt_string(entity, "sslProfile", 0); CHECK();
 
     qd_log(cm->log_source, QD_LOG_INFO, "Created SASL plugin config with name %s", sasl_plugin->name);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org