Commit Graph

27 Commits

Author SHA1 Message Date
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 c5f5f84329 SAML 2.0: Fix many leaks
* lasso/saml-2.0/login.c:
 * lasso/saml-2.0/logout.c:
 * lasso/saml-2.0/name_id_management.c:
 * lasso/saml-2.0/profile.c:
 * lasso/saml-2.0/provider.c:
   do not mix g_malloc strings with libxml strings, use the
   string/gobject handling macros as much as possible, be a good memory
   citizen, don't put your elbows on the table.
2009-04-30 14:58:11 +00:00
Benjamin Dauvergne b09ef2e015 Core: do not mix public and private headers
* lots of files:
   explicitely load the internal header xml/private.h where needed.
2009-03-27 15:04:26 +00:00
Benjamin Dauvergne aff32ad997 Add log message in the metadata loading process
- lasso/id-ff/provider.c, lasso/saml-2.0/provider.c: add critical log
   message in each failed loading of metadatas branch cases.
2008-11-05 11:23:29 +00:00
Benjamin Dauvergne 9ed0670e48 * Remove ending blanks 2008-09-12 15:06:58 +00:00
Benjamin Dauvergne ae1f6a297c * Remove warnings:
- remove unused parameter from private function signatures
 - remove unused variable
 - initialize variable potentially accessed uninitialized
 - add G_GNUC_UNUSED if function is public or adhering to an interface, and a
   parameter is unused.
 - if ID-WSF is not compiled in, define stubs with G_GNUC_UNUSED on parameters.
 The goal is to compile with -Werror.
2008-09-12 13:57:22 +00:00
Frédéric Péters 0419af4f0d proper casts of xmlChar* 2008-01-23 12:17:46 +00:00
Damien Laniel 38acc2883b added support for encrypting name identifiers with id-ff 1.2 2007-12-05 10:48:49 +00:00
Frédéric Péters 0a91e76505 added support for sending SAMLv2 AuthnResponse over HTTP-Redirect (which
shouldn't be used because the assertion within makes for a very big message)
2007-11-27 23:17:21 +00:00
Damien Laniel e8e38c374d coding style 2007-06-12 14:15:55 +00:00
Damien Laniel 4fc6657e0c updated Copyright dates in all files 2007-05-30 17:17:45 +00:00
Frédéric Péters 33fd80e73b fixed little memory leak 2007-01-06 22:13:53 +00:00
Frédéric Péters 0970475f12 fixing some usage of unitialized variables in SAMLv2 support 2006-12-27 15:24:56 +00:00
Damien Laniel d0edddf2bb Added lasso_provider_set_encryption method to activate or desactive encryption 2006-11-22 10:30:54 +00:00
Damien Laniel 84d4c960be Fixed -Wall warnings and replaced a LASSO_ERROR_UNDEFINED 2006-11-21 17:16:29 +00:00
Nicolas Clapies 211ee2fb2a Moved SOAP value as last element in lists. 2006-11-20 15:13:37 +00:00
Frédéric Péters fb131f73c5 process_authn_response_msg for saml2; this is similar to id-ff even if the
underlying messages are different
2006-11-15 23:58:28 +00:00
Frédéric Péters 42d3e91a21 correctly looks up assertionconsumerservice url, even with just the binding 2006-11-15 23:31:29 +00:00
Frédéric Péters da904e0bb3 binding for SAML2 binding uri; and fixed SAML20 to SAML2 for coherence 2006-11-15 18:58:26 +00:00
Nicolas Clapies 9c6d34b930 Added ECP profile (client, SP and IDP parts). 2006-11-14 14:11:59 +00:00
Damien Laniel e06981428f moved encryption key loading from id-ff to saml-2.0 2006-11-09 17:41:09 +00:00
Frédéric Péters a6e12c181f correctly clean memory 2006-10-29 18:05:40 +00:00
Frédéric Péters 9833e37aa9 saml-2.0 more POST support 2006-10-29 14:22:16 +00:00
Frédéric Péters 42f573a9fc started support for AssertionConsumerServiceIndex (as alternative to
ProtocolBinding) (used by zxid)
2006-10-29 12:27:36 +00:00
Frédéric Péters 80f104f73a accept PAOS binding 2006-10-29 11:32:20 +00:00
Frédéric Péters 853f46fd93 starting SAML 2 logout 2005-11-21 18:51:52 +00:00
Frédéric Péters ebb9f7dffc SAML 2.0 support (only web-sso for the moment) 2005-11-20 15:38:19 +00:00