summaryrefslogtreecommitdiffstats
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* [Tests integration] fix configuration variable nameBenjamin Dauvergne2010-09-061-1/+1
|
* [Tests] change the way tests data is distributedBenjamin Dauvergne2010-07-211-2/+3
| | | | | | Instead of using a Makefile.am in each data directory, each data directoy has been added to the EXTRA_DIST for the parent directory Makefile.am.
* [Core] remove now useless .cvsignore filesBenjamin Dauvergne2010-07-216-16/+0
|
* [Tests] move sourceid-2.0beta-data to data directoryBenjamin Dauvergne2010-07-212-1/+2
|
* [Core] move format-suppressions.py to tools directoryBenjamin Dauvergne2010-07-211-43/+0
|
* [Tests] remove debugging printfBenjamin Dauvergne2010-07-211-2/+0
|
* [Tests] change the way tests data is distributedBenjamin Dauvergne2010-07-2113-32/+7
| | | | | | Instead of using a Makefile.am in each data directory, each data directoy has been added to the EXTRA_DIST for the parent directory Makefile.am.
* [Tests/python] add test case for WebSSO with providers using encrypted keysBenjamin Dauvergne2010-07-165-1/+142
|
* [Tests] add a sso then slo soap testBenjamin Dauvergne2010-07-121-0/+206
|
* Merge branch 'issue-88'Benjamin Dauvergne2010-06-292-0/+6
|
* [Tests/integration] add G_DEBUG=gc-friendly env. var to valgrind-wrapperBenjamin Dauvergne2010-06-181-1/+1
| | | | It should improve valgrind ability to trace memory origin.
* Test: add non regression test for reloading a server dump with encrypted keysBenjamin Dauvergne2010-06-144-0/+61
|
* Tests: add idp6-saml2 dataBenjamin Dauvergne2010-06-123-0/+137
|
* Integration test: adapt to new behaviour for federation terminationBenjamin Dauvergne2010-05-312-2/+25
|
* Initialize all uninitialized rc variablesBenjamin Dauvergne2010-04-304-6/+6
|
* Test: only test custom namespace if ID-WSF is enabledBenjamin Dauvergne2010-04-301-1/+2
|
* Free xmlSecKeyBenjamin Dauvergne2010-04-221-0/+1
|
* Ameliorate support for lasso_profile_set_signature_verify_hintBenjamin Dauvergne2010-04-161-1/+1
| | | | | | | | | | | | | | | | | | | | * lasso/id-ff/profile.h: - add end symbol for enum LassoProfileSignatureVerifyHint * lasso/id-ff/profile.c: - fix documentation of lasso_profile_set_signature_verify_hint - do not allow to set or return invalid value for the signature_verify_hint attribute. * lasso/saml-2.0/login.c: - handle new enum value * lasso/saml-2.0/profile.c: - handle new enum value - fix missing catch of signature error reporting when signature_verify_hint is IGNORE. * docs/reference/lasso/lasso-sections.txt: - export enums LassoProfileSignatureHint and LassoProfileSignatureVerifyHint * tests/metadata_tests.c: - fix test of all Role enumerations
* Tests: add tests for custom namespace functionsBenjamin Dauvergne2010-04-061-0/+44
|
* Tests: make role descriptor loading test less verboseBenjamin Dauvergne2010-04-061-3/+8
| | | | | * tests/metadata_tests.c: remove printf, add checks
* Tests: show actual value in check_equals test macroBenjamin Dauvergne2010-04-061-1/+1
|
* SAML 2.0&ID-FF 1.2: simplify and complete metadata loading for multi-role ↵Benjamin Dauvergne2010-03-274-1/+130
| | | | support
* Tests: add macros to test for string equalityBenjamin Dauvergne2010-03-271-0/+12
|
* Tests: in SAML 2.0 tests, use more check_ macrosBenjamin Dauvergne2010-03-271-68/+46
|
* Tests: add macros check_equals and check_not_equalsBenjamin Dauvergne2010-03-271-0/+14
|
* 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.
* Fix idp5-saml2 metadatasBenjamin Dauvergne2010-02-221-11/+22
| | | | | | * tests/data/idp5-saml2/metadata.xml: we do not have the private key for the encryption public key, so I copied the signing public key.
* Tests integration: force C localeBenjamin Dauvergne2010-02-171-0/+1
| | | | | | * tests/integration/saml2/__init__.py: authentic now use 'system locale' by default, so force C locale to get english IHM string to make twill happy.
* Tests: in login_tests_saml2.c, add test for ↵Benjamin Dauvergne2010-02-171-0/+10
| | | | lasso_saml2_assertion_validate_conditions
* SAML 2.0: when verifying query signature, do not presume order of field and ↵Benjamin Dauvergne2010-02-102-1/+49
| | | | | | | | | | | | | | separator * lasso/xml/tools.c: in lasso_saml2_verify_query_signature, extract needed field and order them appropriately before computing digest, expect ';' as well as '&' as separator. * tests/random_test.c: add non-regression tests for query signature validation. * tests/Makefile.am: make tests link agains static version of liblasso, to get access to private functions.
* Propagate change of name for LASSO_PP_ definesBenjamin Dauvergne2010-02-101-8/+8
|
* Core: Finish support for all XMLDsig key formatsBenjamin Dauvergne2010-02-043-1/+38
| | | | | | | | | | | | | | | * lasso/xml/tools.c: xmlsec is not able to load a certificate public key without checking it against trusted root certificate, so we must work around and load the key by hand. lasso_xmlsec_load_private_key_from_buffer is made more robust in the same (loading of the key was extracted inside _lasso_xmlsec_load_key_from_buffer) and now can load certificates and keys directly embedded inside KeyValue nodes (in total opposition to the XMLDsig specification but...), with or without PEM headers. * tests/metadata/Makefile.am tests/metadata/metadata_06.xml tests/metadata_tests.c: add test case for RSAKeyValue public keys.
* Tests: add more checking to dump generation code in login_tests.cBenjamin Dauvergne2010-02-041-5/+9
|
* Tests: adapt server constructor settings to recent changesBenjamin Dauvergne2010-02-041-2/+7
|
* Tests: in valgrind suppressions file add more GLib suppressionsBenjamin Dauvergne2010-02-041-0/+117
|
* Tests: in basic_tests.c, re-enable parsing of LassoWsuTimestamp objectsBenjamin Dauvergne2010-02-041-5/+1
|
* Fix leaksBenjamin Dauvergne2010-02-042-0/+2
| | | | | | | | | | | * lasso/id-wsf-2.0/profile.c: release private data object. * lasso/saml-2.0/login.c: free NameID content after construction. * lasso/xml/tools.c: free algorithm attribute content in lasso_node_decrypt_xmlnode. * lasso/xml/xml.c: release cutom_element->nodename in destructor. remove useless finalize method. * tests/basic_tests.c: release xmldoc after use. * tests/random_tests.c: free resut of lasso_node_dump.
* Tests: export sp2-la do dist file for dist with id-wsf enabledBenjamin Dauvergne2010-01-281-1/+1
|
* fix typoBenjamin Dauvergne2010-01-181-1/+0
|
* Merge EXTRA_DIST declarations in tests/Makefile.amBenjamin Dauvergne2010-01-181-3/+2
|
* Add tests/valgrind to dist tarballsBenjamin Dauvergne2010-01-181-0/+2
|
* Tests integration: remove save_html hooks, after fed termination logout ↵Benjamin Dauvergne2010-01-142-6/+7
| | | | button should still be there
* Tests SAML2: use & test encryptionBenjamin Dauvergne2010-01-121-11/+16
|
* Tests: fix inclusion of id-wsf 2.0 testsBenjamin Dauvergne2010-01-121-5/+7
|
* Tests: add idwsf2_tests.c, call from tests.c, update Makefile.amBenjamin Dauvergne2010-01-044-2/+291
|
* Tests: in tests/login_tests.c, change path of header utils.hBenjamin Dauvergne2010-01-041-1/+1
|
* Tests: in basic_tests.c, fix, do not overwrite known elements mappingsBenjamin Dauvergne2010-01-041-4/+5
| | | | | | | | | * tests/basic_tests.c: when testing functionality of lasso registries which map namespace elements to lasso objects, do not use liberty namespace because it interacts with other tests -- deserialization of lib:Assertion node was broken by this test -- when running them in CK_FORK=no mode. Changed namespace LASSO_LIB_HREF, for "coin" which is less dangerous.
* Tests: in basic_tests.c, check LassoSaml2EncryptedElement handlingBenjamin Dauvergne2010-01-041-0/+32
|
* in tests/tests.h, Add checks for true and false conditionsBenjamin Dauvergne2009-12-081-4/+10
|
* Add SP initiated logout test to SAML 2.0 regression testsBenjamin Dauvergne2009-12-013-1/+85
| | | | | | | | | * tests/login_tests_saml2.c: add logout to first SAML 2.0 login regression test. * tests/tests.h: add macros to simplify checking of return value with check macros (encapsulate fail_unless macro to check for NULL/non-NULL values and good rc value (0) or expected bad value).