diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-07-19 15:56:33 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-07-19 15:56:33 +0000 |
| commit | b8c756db7d86b8414d4e072930847ac0077accfc (patch) | |
| tree | 3fb426c7809f03b1b43cadd4e4028c3490bb4688 | |
| parent | 1898d645d5262631255f8d3c3e31eea0cee386f6 (diff) | |
| download | lasso-b8c756db7d86b8414d4e072930847ac0077accfc.tar.gz lasso-b8c756db7d86b8414d4e072930847ac0077accfc.tar.xz lasso-b8c756db7d86b8414d4e072930847ac0077accfc.zip | |
[SAMLv2] comment on SessionIndex support hack
| -rw-r--r-- | lasso/xml/saml-2.0/samlp2_logout_request.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lasso/xml/saml-2.0/samlp2_logout_request.c b/lasso/xml/saml-2.0/samlp2_logout_request.c index c9f79d25..3d7e3ad8 100644 --- a/lasso/xml/saml-2.0/samlp2_logout_request.c +++ b/lasso/xml/saml-2.0/samlp2_logout_request.c @@ -94,6 +94,14 @@ static LassoNodeClass *parent_class = NULL; /* instance and class init functions */ /*****************************************************************************/ +/* GROSS HACK: in order to support multiple session index elements, we use a private field that is + * directly parsed or serialized through the overloaded get_xmlNode and init_from_xml virtual + * methods. The structure of LassoSamlp2LogoutRequest is part, until the next major release, of our + * public ABI, so we cound not do otherwise. + * + * The last parsed element is kept in the legacy field logout_request->SessionIndex. At parsing and + * serializing time it is separated from other elements. This should keep the old behaviour intact. + */ static xmlNode* get_xmlNode(LassoNode *node, gboolean lasso_dump) { |
