diff options
Diffstat (limited to 'qpid/python')
| -rw-r--r-- | qpid/python/qpid/saslmech/anonymous.py | 2 | ||||
| -rw-r--r-- | qpid/python/qpid/saslmech/external.py | 2 | ||||
| -rw-r--r-- | qpid/python/qpid/saslmech/finder.py | 2 | ||||
| -rw-r--r-- | qpid/python/qpid/saslmech/sasl.py | 2 | ||||
| -rw-r--r-- | qpid/python/qpid/tests/saslmech/my_sasl2.py | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/qpid/python/qpid/saslmech/anonymous.py b/qpid/python/qpid/saslmech/anonymous.py index 8f3fa1434e..1002a3aa0a 100644 --- a/qpid/python/qpid/saslmech/anonymous.py +++ b/qpid/python/qpid/saslmech/anonymous.py @@ -21,7 +21,7 @@ from sasl import Sasl class ANONYMOUS(Sasl): - def prerequistesOk(self): + def prerequisitesOk(self): return True diff --git a/qpid/python/qpid/saslmech/external.py b/qpid/python/qpid/saslmech/external.py index 00c6aba491..51c8d97530 100644 --- a/qpid/python/qpid/saslmech/external.py +++ b/qpid/python/qpid/saslmech/external.py @@ -23,5 +23,5 @@ from sasl import Sasl class EXTERNAL(Sasl): """Sasl mechanism used when SSL with client-auth is in use""" - def prerequistesOk(self): + def prerequisitesOk(self): return True diff --git a/qpid/python/qpid/saslmech/finder.py b/qpid/python/qpid/saslmech/finder.py index eab0250942..1dda9ec48f 100644 --- a/qpid/python/qpid/saslmech/finder.py +++ b/qpid/python/qpid/saslmech/finder.py @@ -37,7 +37,7 @@ def get_sasl_mechanism(mechanismNames, username, password, namespace="qpid.saslm clazz = _get_class(canonicalName) log.debug("Found SASL implementation") instance = clazz(username, password, mechanismName, sasl_options) - if (instance.prerequistesOk()): + if (instance.prerequisitesOk()): instances.append(instance) else: log.debug("SASL mechanism %s unavailable as the prerequistes for this mechanism have not been met", mechanismName) diff --git a/qpid/python/qpid/saslmech/sasl.py b/qpid/python/qpid/saslmech/sasl.py index 63ba36f8ad..7b1ae058db 100644 --- a/qpid/python/qpid/saslmech/sasl.py +++ b/qpid/python/qpid/saslmech/sasl.py @@ -27,7 +27,7 @@ class Sasl: self.name = name self.sasl_options = sasl_options - def prerequistesOk(self): + def prerequisitesOk(self): return self.user is not None and self.password is not None def initialResponse(self): diff --git a/qpid/python/qpid/tests/saslmech/my_sasl2.py b/qpid/python/qpid/tests/saslmech/my_sasl2.py index c03dcbf2ca..e0b3dfa56f 100644 --- a/qpid/python/qpid/tests/saslmech/my_sasl2.py +++ b/qpid/python/qpid/tests/saslmech/my_sasl2.py @@ -24,5 +24,5 @@ class MY_SASL2(Sasl): def priority(self): return 0 - def prerequistesOk(self): + def prerequisitesOk(self): return True |
