Project

General

Profile

Development #18581

améliore le support de contenu libre dans les noeuds samlp2:Extensions

Added by Benjamin Dauvergne about 6 years ago. Updated about 5 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
11 September 2017
Due date:
% Done:

100%

Estimated time:
Patch proposed:
No
Planning:

Description

Via deux nouveaux champs privés:
  • GList *any : liste des noeuds contenus
  • GHashTable *attributes: dictionnaire des attributs au format ElementTree

Files

Associated revisions

Revision 81fad67a (diff)
Added by Benjamin Dauvergne about 6 years ago

saml-2.0: improve support for free content inside samlp2:Extensions (fixes #18581)

Four new accesors:

lasso_samlp2_extensions_get_any
lasso_samlp2_extensions_set_any
lasso_samlp2_extensions_get_attributes
lasso_samlp2_extensions_set_attributes

The two new pseudo field are fully supported in the python binding.

node = lasso.Samlp2Extensions()
node.any = '<test>ok</test>'
node.attributes = {'{http://entrouvert.org/}attribute1': 'value'}
print node.dump()

History

#1

Updated by Frédéric Péters about 6 years ago

Ok mais c'est vraiment une relecture superficielle (dans test12, peut-être pas nécessaire de taper print, juste évaluer l'attribut ferait pareil ?).

#2

Updated by Benjamin Dauvergne about 6 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100
#3

Updated by Benjamin Dauvergne about 5 years ago

  • Target version set to 2.6.0
#4

Updated by Benjamin Dauvergne about 5 years ago

  • Status changed from Résolu (à déployer) to Fermé

Also available in: Atom PDF