summaryrefslogtreecommitdiffstats
path: root/tests/idwsf2_tests.c
Commit message (Collapse)AuthorAgeFilesLines
* [tests idwsf2] add missing include for ID-WSF stringsBenjamin Dauvergne2010-12-031-0/+1
|
* ID-WSF 2.0: reorganize EPR minting, add a process_request method to disco ↵Benjamin Dauvergne2010-02-221-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | service * data_service.c: remove dependency on discovery.h * discovery.{c,h}: - add a lasso_idwsf2_discovery_process_request_msg to extract request data before validate request (SvcMDID, SvcMD or RequestService). - store SvcMDID in a private field, add a setter for it. - SvcMDID is now used for building response to MDAssociationQuery and parsing request for MDQuery, MDDelete, MDAssociationAdd and MDAssociationDelete. * idwsf2_helper.{c,h}: - change security mechanism argument of lasso_wsa_endpoint_reference_add_security_token from a NULL terminated string array to a GList. * saml2_login.{c,h}: - add a lasso_server_create_assertion_as_idwsf2_security_token for minting assertion for ID-WSF 2.0 security, to be used in Discovery bootstap EPR creation and EPR minting for Discovery service Query responses. - add a lasso_saml2_assertion_get_discovery_bootstrap_epr, and rewirte lasso_login_idwsf2_get_discovery_bootstrap_epr to use it. - make lasso_login_idwsf2_add_discovery_bootstrap_epr accept a list of security mechanisms, not just one. * tests/idwsf2_tests.c: - adapt to new argument type of lasso_login_idwsf2_add_discovery_bootstrap_epr.
* Tests: add idwsf2_tests.c, call from tests.c, update Makefile.amBenjamin Dauvergne2010-01-041-0/+274