From 73fd0e85c53a11df3267ca7946e25530f8f6be8d Mon Sep 17 00:00:00 2001 From: Nicolas Clapies Date: Mon, 26 Jul 2004 23:45:58 +0000 Subject: fix a bug in python binding user_add_assertion : give obj of python assertion, add a copy of assertion in lasso_add_assertion ( not sure, but assertion should be copied ) --- python/examples/user.py | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'python/examples') diff --git a/python/examples/user.py b/python/examples/user.py index 6fd5de1a..f03761b5 100644 --- a/python/examples/user.py +++ b/python/examples/user.py @@ -34,8 +34,16 @@ print "Dump of user environ :" print user.dump() user2 = lasso.User.new_from_dump(user.dump()); +print 'user2 dump 1' +print user2.dump() assertion = lasso.Assertion("http://nowhere.com", "CD8CS7C6CS6CD6C6SC6SSDC6CS6D") + +print 'user dump 1' +print user.dump() + user.add_assertion("https://service-provider1:2003/liberty-alliance/metadata", assertion) +print user.dump() + user.destroy() -- cgit