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
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
33bbf7a7de
All: Fix missing field initializer problems
...
* lots of files: Explicitely set all field of initialized structures,
in order to remove -Wno-missing-field-initilizers from needed
compiler options when using -Wall -Wextra.
2009-01-24 09:33:40 +00:00
Benjamin Dauvergne
0d66367f28
Remove use of xmlFreeDoc for lasso_release_doc
...
- bindings/java/wrapper_top.c, bindings/php4/lasso_php4_helper.c,
bindings/php5/wrapper_source_top.c, bindings/python/wrapper_top.c,
lasso/id-ff/identity.c, lasso/id-ff/lecp.c, lasso/id-ff/login.c,
lasso/id-ff/logout.c, lasso/id-ff/name_registration.c,
lasso/id-ff/profile.c, lasso/id-ff/provider.c, lasso/id-ff/server.c,
lasso/id-ff/session.c, lasso/id-wsf-2.0/data_service.c,
lasso/id-wsf/data_service.c, lasso/id-wsf/discovery.c,
lasso/id-wsf/wsf_profile.c, lasso/saml-2.0/ecp.c,
lasso/saml-2.0/login.c, lasso/saml-2.0/name_id_management.c,
lasso/utils.h, lasso/xml/tools.c, lasso/xml/xml.c, swig/Lasso.i:
Remove use of xmlFreeDoc. Use lasso_release_doc instead.
2008-11-04 01:58:49 +00:00
Benjamin Dauvergne
9ed0670e48
* Remove ending blanks
2008-09-12 15:06:58 +00:00
Frédéric Péters
e5ba6151ba
moved gtk-doc inline as is better on so many points; also added schema
...
fragments to published doc
2008-05-15 21:17:44 +00:00
Damien Laniel
4fc6657e0c
updated Copyright dates in all files
2007-05-30 17:17:45 +00:00
Frédéric Péters
c2fa848a7e
add missing profileprivate.h header for lasso_profile_clean_info function
...
declaration.
2007-04-14 16:30:59 +00:00
Frédéric Péters
d625224138
removing white spaces on blank lines
2007-01-06 22:55:24 +00:00
Frédéric Péters
e636bd0680
new lasso_profile_clean_msg_info function used to clean msg_url and msg_body
...
(free()ing and setting to NULL) in functions where those variables are later
set.
2007-01-05 13:40:07 +00:00
Frédéric Péters
41d6f7df68
memory management, avoid leaking xmlDoc*
2007-01-05 11:40:10 +00:00
Frédéric Péters
78b83a37b1
misc fixes for 1) memory leaks around XPath usage and 2) potential segfaults
...
from untested pointers
2007-01-03 23:35:17 +00:00
Frédéric Péters
17df2984aa
replaced LASSO_ERROR_UNDEFINED by appropriate error codes in all of xml/ and
...
id-ff/
2006-12-28 10:19:46 +00:00
Frédéric Péters
0808887548
fixed all occurences of returning a negative number unspecified in errors.h
2006-12-27 23:50:15 +00:00
Frédéric Péters
807403d5a6
avoid segfaults when passing NULL to *_new_from_dump
2006-12-27 16:06:35 +00:00
Frédéric Péters
aec4544976
fixed url/query construction for endpoints with query part (zxid)
2006-11-07 12:44:32 +00:00
Frédéric Péters
267dd3424a
check for remote provider id before looking it in GHashTable
2006-01-23 15:30:00 +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
Frédéric Péters
453c810fb8
char signedness for gcc 4 (id-wsf part has not been done)
2005-07-30 22:36:54 +00:00
Frédéric Péters
0fcd78757b
documented that previous change
2005-05-12 18:52:43 +00:00
Frédéric Péters
9c4527554d
fixed the case of idp-initiated rni with no sp defined name identifier
2005-05-12 18:45:50 +00:00
Frédéric Péters
c419d029f6
fixing lasso_name_registration_init_request with regards to
...
profile->nameIdentifier (hopefully)
2005-05-12 18:29:34 +00:00
Frédéric Péters
971f06beed
fixed lasso_name_registration_process_request_msg so that it ends with
...
profile->nameIdentifier being the local name identifier.
2005-05-12 18:14:02 +00:00
Frédéric Péters
d210785737
don't check other endpoint for supported profile since *they* initiated it that
...
way and it seems allowed for them not to have it in their metadata.
2005-05-11 10:28:34 +00:00
Frédéric Péters
d028269c68
return error message if name registration profile is used on an empty identity
...
(was segfaulting)
2005-04-23 12:10:26 +00:00
Frédéric Péters
1e26b90df9
only use LASSO_SIGNATURE_TYPE_WITHX509 (including a <KeyInfo/> in message) if
...
we have a certificate to use; use LASSO_SIGNATURE_TYPE_SIMPLE otherwise.
2005-03-07 14:16:16 +00:00
Frédéric Péters
6cc0ebee5a
removed all %s escaping sequences from lasso error strings; as a side effect
...
this simplifies critical_error macro, porting to non-gcc compilers should be
easier. Along the way I also fixed the long standing bug #256 .
2005-02-05 16:15:53 +00:00
Frédéric Péters
7a4de405c3
produce 1.1 requests and notifications when interoperating with previous
...
liberty implementations
2005-01-28 13:29:14 +00:00
Emmanuel Raviart
7a03e99b09
Updated Copyright and authors.
2005-01-22 15:57:56 +00:00
Frédéric Péters
21f8461ddd
done with documenting if-ff/* functions
2005-01-21 10:51:24 +00:00
Frédéric Péters
522c42f3f7
corrected spelling of optionally.
2005-01-20 13:25:11 +00:00
Frédéric Péters
d01961c269
documented name_identifier_mapping.c; removed its unused dump functions; fixed
...
a few docstrings
2005-01-20 13:24:04 +00:00
Frédéric Péters
111e697858
documented #LassoNameRegistration and fixed some docstrings in #LassoLogout
2005-01-20 11:59:04 +00:00
Frédéric Péters
5508882f09
no longer allows NULL to get the first known remote provider id
2005-01-12 14:12:47 +00:00
Frédéric Péters
98b86610af
Reserved space for private_data expansion, so it will be possible to maintain
...
ABI compatibility if changes are needed. Documented some functions (and
switched some destroy to use lasso_node_destroy).
2005-01-10 21:46:39 +00:00
Frédéric Péters
9b444f7796
Removed second and third parameters of lasso_node_dump since @encoding is
...
always UTF-8 and @format is always to indent XML in lasso dumps.
2005-01-01 18:53:30 +00:00
Frédéric Péters
f40931b78a
removed lasso_federation_set_local_name_identifier and
...
lasso_federation_set_remote_name_identifier; they were no longer necessary.
2005-01-01 18:41:17 +00:00
Frédéric Péters
ac3e5574fc
moved remaining lasso[A-Z].* enums to Lasso[A-Z].*
2004-12-31 18:33:23 +00:00
Frédéric Péters
8c9419003b
it sure must be set to NULL
2004-12-31 13:06:21 +00:00
Frédéric Péters
a61cc39269
moved some lasso private functions to new providerprivate.h; insure it is
...
included properly in other files (as well as some sessionprivate.h that were
missing)
2004-12-31 11:51:11 +00:00
Frédéric Péters
e40295bfb8
added refcounting of server to other profiles
2004-12-30 16:47:35 +00:00
Frédéric Péters
c338481e24
documented some new/destroy/dump/... functions
2004-12-30 15:12:12 +00:00
Frédéric Péters
07fcdf0c4e
generate xmlsec signatures in get_xmlNode; this should allow envelopes (in
...
LECP) to work properly.
2004-12-28 12:44:22 +00:00
Frédéric Péters
493236dc22
documenting #LassoIdentity and #LassoFederation
2004-12-22 21:38:06 +00:00
Frédéric Péters
95afff30e7
Added differentiation between creating xmlnode for lasso use (the _dump
...
functions) and creating xmlnode for the wire (export_to_soap...). This
was necessary to keep track of private_key_file to use on an Assertion
while it was kept in a lasso session dump and restored later.
This means the get_xmlNode functions have now a second parameter, gboolean
lasso_dump, TRUE when dumping for lasso internal use.
On the bright side assertions are now signed (that signature is not yet
checked).
2004-12-19 20:34:22 +00:00
Frédéric Péters
74697b19c1
if available, use profile->msg_relayState to init request in init_request
...
functions.
2004-12-19 11:07:22 +00:00
Frédéric Péters
2e0efac99e
Moved LassoProfile->nameIdentifier from char* to LassoSamlNameIdentifier*,
...
gaining back access to the nameFormat added late before 0.5.
There are no bindings for LassoSamlNameIdentifier; as a temporary and
compatible measure; profile->nameIdentifier in bindings continues to
return a char* (profile->nameIdentifier->content).
At the same time the same change has been done for
LassoNameRegistration->oldNameIdentifier.
2004-12-18 18:36:54 +00:00
Frédéric Péters
76ec7eb692
(almost) done with errors in ID-FF; remaining "return -1" have been converted
...
to LASSO_ERROR_UNDEFINED (there are forty-three of them).
LASSO_ERROR_UNDEFINED was redefined from -999 to -1 so it is easier to add new
sequences of errros.
2004-12-16 14:04:43 +00:00
Frédéric Péters
2d6ee469fd
fixed a few "variable might be used uninitialized in this function" detected
...
with gcc-3.4 -O3.
2004-12-15 13:26:31 +00:00