qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject [05/50] [abbrv] qpid-proton git commit: PROTON-1008: Updated README and added simple sasl config file
Date Fri, 23 Oct 2015 14:36:07 GMT
PROTON-1008: Updated README and added simple sasl config file


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

Branch: refs/heads/go1
Commit: 2789615a1acee688ebcee580ff755d7d694873df
Parents: baaf74a
Author: Gordon Sim <gsim@redhat.com>
Authored: Mon Oct 5 11:08:43 2015 +0100
Committer: Gordon Sim <gsim@redhat.com>
Committed: Mon Oct 5 11:08:43 2015 +0100

----------------------------------------------------------------------
 examples/python/README             | 14 ++++++++++++++
 examples/python/proton-server.conf |  1 +
 2 files changed, 15 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2789615a/examples/python/README
----------------------------------------------------------------------
diff --git a/examples/python/README b/examples/python/README
index 40e7910..9051187 100644
--- a/examples/python/README
+++ b/examples/python/README
@@ -5,6 +5,10 @@ anonymous connections and accepts links to and from a node named
 provided against which the examples can also be run (transactions are
 not yet supported in this script).
 
+Note: For builds that include SASL support via the cyrus sasl library,
+those examples that accept incoming connections may require some SASL
+configuration which is described below.
+
 ------------------------------------------------------------------
 
 helloworld.py
@@ -171,3 +175,13 @@ A variant of the above that uses the tornado eventloop instead.
 
 -------------------------------------------------------------------
 
+SASL configuration
+
+If your build includes extra SASL support (provided via the cyrus SASL
+library), you may need to provide some configuration to enable
+examples that accept incoming connections (i.e. those with 'direct' in
+the name). This is done by supplying a config file name
+proton-server.conf. The directory in which it is in can be specified
+via the PN_SASL_CONFIG_PATH environment variable. A simple example
+config file is included along with these examples, enabling only the
+EXTERNAL and ANONYMOUS mechanisms by default.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/2789615a/examples/python/proton-server.conf
----------------------------------------------------------------------
diff --git a/examples/python/proton-server.conf b/examples/python/proton-server.conf
new file mode 100644
index 0000000..6d236fe
--- /dev/null
+++ b/examples/python/proton-server.conf
@@ -0,0 +1 @@
+mech_list: EXTERNAL ANONYMOUS


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


Mime
View raw message