summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorEmmanuel Raviart <eraviart@entrouvert.com>2004-07-13 11:20:04 +0000
committerEmmanuel Raviart <eraviart@entrouvert.com>2004-07-13 11:20:04 +0000
commit7d2c16cb3f7cf190383dd5dd4be8d6b13301dba4 (patch)
tree750df3cc2f6b4c54b8435947d98ccb343931f56a /python
parentd54bd3c24a5b7f6363256e4b5bc298155bd5bcf0 (diff)
downloadlasso-7d2c16cb3f7cf190383dd5dd4be8d6b13301dba4.tar.gz
lasso-7d2c16cb3f7cf190383dd5dd4be8d6b13301dba4.tar.xz
lasso-7d2c16cb3f7cf190383dd5dd4be8d6b13301dba4.zip
Corrected constant name.
Diffstat (limited to 'python')
-rw-r--r--python/doc/tutorial/sp-login-send-authn-request.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/doc/tutorial/sp-login-send-authn-request.py b/python/doc/tutorial/sp-login-send-authn-request.py
index cda934d4..71105777 100644
--- a/python/doc/tutorial/sp-login-send-authn-request.py
+++ b/python/doc/tutorial/sp-login-send-authn-request.py
@@ -19,7 +19,7 @@ login.request.set_isPassive(False)
# Identity provider will create a federation with this service provider and this user, if this was
# not already done.
-login.request.set_nameIDPolicy(lasso.libNameIDPolicyTypes['federated'])
+login.request.set_nameIDPolicy(lasso.libNameIDPolicyTypeFederated)
if login.build_authn_request_msg():
raise Exception('Login error')