diff options
author | Fredrik Thulin <fredrik@thulin.net> | 2013-10-11 15:14:12 +0200 |
---|---|---|
committer | Fredrik Thulin <fredrik@thulin.net> | 2013-10-11 15:14:12 +0200 |
commit | 89ed3e3ab849b43ce76ad06a15e38ba9f16b7609 (patch) | |
tree | d0f5067a3ff80e4d8ba7cb0dc90dad4b6a92c729 | |
parent | b5b460b7e9c38af66c60adc09e4fc7289a7a049e (diff) | |
download | pysaml2-89ed3e3ab849b43ce76ad06a15e38ba9f16b7609.tar.gz |
Fix another case of req_authn_context.authn_context_class_ref list.
-rw-r--r-- | src/saml2/authn_context/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/saml2/authn_context/__init__.py b/src/saml2/authn_context/__init__.py index 0368d109..9213b6af 100644 --- a/src/saml2/authn_context/__init__.py +++ b/src/saml2/authn_context/__init__.py @@ -164,7 +164,7 @@ class AuthnBroker(object): else: _cmp = "minimum" return self._pick_by_class_ref( - req_authn_context.authn_context_class_ref.text, _cmp) + req_authn_context.authn_context_class_ref[0].text, _cmp) elif req_authn_context.authn_context_decl_ref: if req_authn_context.comparison: _cmp = req_authn_context.comparison |