summaryrefslogtreecommitdiffstats
path: root/bindings/java/GObject.java
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-01 13:03:42 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-03 19:02:42 +0200
commit4178cbef13b2fbb2feb0f9c8ca6d691ffc060b2d (patch)
treeef59d7eb7bcaa44684a5cccde60dcf67f07cda90 /bindings/java/GObject.java
parentedd618319cca334a311ad31103d8a24cb7701ef8 (diff)
downloadlasso-4178cbef13b2fbb2feb0f9c8ca6d691ffc060b2d.tar.gz
lasso-4178cbef13b2fbb2feb0f9c8ca6d691ffc060b2d.tar.xz
lasso-4178cbef13b2fbb2feb0f9c8ca6d691ffc060b2d.zip
[SAMLv2] change the way content is stored and loaded for the HTTP-Artifact binding
Previously content was stored as the result of lasso_node_dump method then reloaded, and then serialized again as part of the ArtifactResponse message. lasso_node_dump was ignoring all hint to sign node, but keeping the needed parameters around. That's not what must be done, the signature should happen at the generation of the artifact and the result must manipulated as is (i.e. XML content) and never moved back to the land of LassoNode objects. Now the content is: - first removed of any signature at the message level, because the ArtifactResponse will take care of this, (any signature under this level (like at the assertion) is kept), - serialized using lasso_node_export_to_xml, - reloaded using lasso_xml_parse_memory, - and put into the ArtifactResponse using a lasso_misc_text_node_new_with_xml_node.
Diffstat (limited to 'bindings/java/GObject.java')
0 files changed, 0 insertions, 0 deletions