Commit Graph

7 Commits

Author SHA1 Message Date
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