Benjamin Dauvergne
466b6f3746
[tests] add test cases for the LassoKey class
2012-03-17 15:26:57 +01:00
Benjamin Dauvergne
727f07b1ae
Simplify useless complexity in include paths
2011-12-16 14:17:31 +01:00
Benjamin Dauvergne
cd017964d0
[core] introduce the LassoSignatureContext context, to pass around signature parameters
...
This structure is used to pass around the signature algorithm
and the signature key.
2011-12-05 12:03:13 +01:00
Benjamin Dauvergne
d2adc740a2
[Tests] fix leak of content in test01_server_new
2010-09-17 17:02:41 +02:00
Benjamin Dauvergne
3304176c37
Free xmlSecKey
2010-04-22 00:44:28 +00:00
Benjamin Dauvergne
f648941f01
SAML 2.0: when verifying query signature, do not presume order of field and 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.
2010-02-10 00:34:55 +00:00
Benjamin Dauvergne
0a8f09f967
Tests: adapt server constructor settings to recent changes
2010-02-04 00:02:24 +00:00
Benjamin Dauvergne
b780bd2376
Fix leaks
...
* 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.
2010-02-04 00:02:07 +00:00
Benjamin Dauvergne
08f7326ed6
Tests: add more assertion to random test
...
* tests/random_tests.c:
add more assertion testing for various return values or field values.
2009-09-11 15:51:55 +00:00
Benjamin Dauvergne
7231771856
All: Rework include files handling, separated ID-WSF code from SAML2/ID-FF code
...
* nearly all C files: change includes for relative paths.
* lasso/id-wsf/id_wsf.h, lasso/id-wsf-2.0/id_wsf_2.h: add top level
public include files for ID-WSF 1.0 and ID-WSF 2.0.
* lasso/id-ff/server.*, lasso/id-ff/session.*, lasso/id-ff/identity.*:
remove most of the code related to ID-WSF and push into
lasso/id-wsf/id_ff_extensions.* and lasso/id-wsf-2.0/identity.c,
lasso/id-wsf-2.0/server.c, lasso/id-wsf-2.0/session.c.
* lasso/id-wsf-2.0/saml2_login.c,
lasso/id-wsf-2.0/saml2_login_private.h: same change but for ID-WSF
2.0 support in SAML2 SSO profile.
2009-08-26 15:14:32 +00:00
Benjamin Dauvergne
7e6dfb7683
Fix leaks in tests
...
* basic_tests.c:
* login_tests.c:
* login_tests_saml2.c:
* random_tests.c:
free replaced string, unref used nodes, initialize local variables
when necessary, free newly allocated strings.
2009-04-30 14:58:16 +00:00
Benjamin Dauvergne
70299b52ab
Test: add missing release of objects and memory
...
* tests/basic_tests.c:
* tests/login_tests.c:
* tests/metadata_tests.c:
* tests/random_tests.c:
* tests/tests.c:
add missing g_free and g_object_unref calls.
2009-03-27 15:06:25 +00:00
Benjamin Dauvergne
9ed0670e48
* Remove ending blanks
2008-09-12 15:06:58 +00:00
Damien Laniel
4fc6657e0c
updated Copyright dates in all files
2007-05-30 17:17:45 +00:00
Frédéric Péters
98b4703cef
added non-regression test for bug #416 (missing namespace in some
...
samlp:Response)
2005-03-15 17:27:57 +00:00
Frédéric Péters
5fc13d9126
removed debugging output
2005-03-07 20:42:53 +00:00
Frédéric Péters
f7d78d8fb4
use fail_unless since fail_if didn't exist in check 0.8.x
2005-03-07 20:42:00 +00:00
Frédéric Péters
e46b388588
only use xsi:type on elements that have a saml: ancestor (and added test to not
...
regress)
2005-03-07 19:41:49 +00:00
Emmanuel Raviart
7a03e99b09
Updated Copyright and authors.
2005-01-22 15:57:56 +00:00
Frédéric Péters
76f6e65853
accounts for changes in lasso_node_dump
2005-01-01 19:18:18 +00:00
Frédéric Péters
b640247c49
added random suites with random tests
2004-12-21 13:59:40 +00:00
Frédéric Péters
5f60d4b1d0
new tests
2004-11-15 10:32:39 +00:00