diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2008-04-29 12:02:42 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2008-04-29 12:02:42 +0000 |
commit | 3c0712d3ecac0cf74a88e31324de64c534bed8ad (patch) | |
tree | 740068da0608dda32f92762fce489b0195f33297 /bindings/lang_php5_helpers/php_code.py | |
parent | e1f40bbdd7ba46e51d72389ec17820160fa461b6 (diff) | |
download | lasso-3c0712d3ecac0cf74a88e31324de64c534bed8ad.tar.gz lasso-3c0712d3ecac0cf74a88e31324de64c534bed8ad.tar.xz lasso-3c0712d3ecac0cf74a88e31324de64c534bed8ad.zip |
[project @ fpeters@0d.be-20071008094035-jypv3sactdkvkoq7]
setting of list of objects
s = lasso.Saml2Assertion()
s2 = lasso.Saml2AuthnStatement()
s2.sessionIndex = 'plop'
s3 = lasso.Saml2AuthnStatement()
s3.sessionIndex = 'plop2'
s.authnStatement = (s2, s3)
print s.dump()
<saml:Assertion xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion" SignType="0"
SignMethod="0" EncryptionActivated="false" EncryptionSymKeyType="0">
<saml:AuthnStatement SessionIndex="plop"/>
<saml:AuthnStatement SessionIndex="plop2"/>
</saml:Assertion>
Original author: Frederic Peters <fpeters@0d.be>
Date: 2007-10-08 11:40:35.875000+02:00
Diffstat (limited to 'bindings/lang_php5_helpers/php_code.py')
0 files changed, 0 insertions, 0 deletions