summaryrefslogtreecommitdiffstats
path: root/python/examples/user.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/examples/user.py')
-rw-r--r--python/examples/user.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/examples/user.py b/python/examples/user.py
index 7ebf8b88..ee9f8cfe 100644
--- a/python/examples/user.py
+++ b/python/examples/user.py
@@ -33,4 +33,9 @@ print "All assertions deleted\n"
print "Dump of user environ :"
print user.dump()
+user2 = lasso.User.new_from_dump(user.dump());
+
+assertion = lasso.Assertion("http://nowhere.com", "CD8CS7C6CS6CD6C6SC6SSDC6CS6D")
+user.add_assertion("https://service-provider1:2003/liberty-alliance/metadata", assertion)
+
user.destroy()