Commit Graph

18 Commits

Author SHA1 Message Date
Benjamin Dauvergne 5ba292521b [core] add the HMAC-SHA1 shared secret signature method 2011-12-05 13:11:53 +01:00
Benjamin Dauvergne 95137b1ad1 [tests] add test for rollover on the SP side, i.e. rollover of encryption keys
This test case is the first to abstract the workflow between two
LassoLogin object (for the idp and sp side). This part of the code could
be used to simplify the code of other tests in the future.
2011-11-22 18:51:49 +01:00
Benjamin Dauvergne 187cc7a528 [tests] add unit test for the provider with multiple key feature 2011-05-19 17:54:16 +02:00
Benjamin Dauvergne 255e46bb3b [tests] include the backward compatibility include for GHashTable 2010-12-01 15:21:13 +01:00
Benjamin Dauvergne 462c9a1cd0 [Core] replace all use of g_strcmp0 by lasso_strisequal and lasso_strisnotequal
Too much human errors with strcmp kind of functions. Also change name os
lasso_is_empty_string to lasso_strisempty.
2010-10-01 15:29:38 +02:00
Benjamin Dauvergne 87c3f63dd0 [Tests] fix leak of idpLogoutContext in test04_sso_then_slo_soap 2010-09-17 17:02:41 +02:00
Benjamin Dauvergne 92b9eaa2fd [Tests] fix mem leaks 2010-09-17 17:02:39 +02:00
Benjamin Dauvergne 34c2f1759b [Tests] remove debugging printf 2010-07-21 13:56:41 +00:00
Benjamin Dauvergne 358b2b1764 [Tests] add a sso then slo soap test 2010-07-12 14:09:12 +00:00
Benjamin Dauvergne a041a2ef81 Initialize all uninitialized rc variables 2010-04-30 09:23:01 +00:00
Benjamin Dauvergne 04ad790347 Tests: in SAML 2.0 tests, use more check_ macros 2010-03-27 16:51:23 +00:00
Benjamin Dauvergne 174856fade Tests: in login_tests_saml2.c, add test for lasso_saml2_assertion_validate_conditions 2010-02-17 10:14:48 +00:00
Benjamin Dauvergne c14fdb11ec Tests SAML2: use & test encryption 2010-01-12 15:40:29 +00:00
Benjamin Dauvergne 4f973512b9 Add SP initiated logout test to SAML 2.0 regression tests
* 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).
2009-12-01 02:06:07 +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 96d33b6542 Test: Remove spurious debugging printf
* tests/login_tests_saml2.c:
   remove debug code.
2009-04-27 08:19:33 +00:00
Benjamin Dauvergne 50ea06e0f7 Tests: Add a SAML2 login test
* tests/login_tests_saml2.c:
   add a C login test for SAML 2.
 * tests/Makefile.am:
   add the new test to dependencies.
2009-04-22 23:49:17 +00:00