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
59926d7545
Core: Add new error types
...
* lasso/errors.h lasso/errors.c:
add error types: LASSO_ERROR_CAST_FAILED,
LASSO_DATA_SERVICE_CANNOT_ADD_ITEM,
LASSO_WSF_PROFILE_ERROR_INVALID_OR_MISSING_REFERENCE_TO_MESSAGE_ID,
LASSO_DST_ERROR_QUERY_NOT_FOUND, LASSO_DST_ERROR_NO_DATA,
LASSO_DST_ERROR_MALFORMED_QUERY.
2009-08-26 15:13:43 +00:00
Benjamin Dauvergne
c01a0e78fa
ID-WSF 1.0: Add new error to signal unknown entry
...
* lasso/errors.{c,h}: add a new error for the ID-WSF 1.0 module, to
signal unknown entry in discovery responses.
2009-08-26 15:13:28 +00:00
Benjamin Dauvergne
bd015db03b
Core: Remove ending blanks from erros.c.in
...
* lasso/errors.c.in: errors.c template contains blanks at end of lines.
2009-03-27 15:05:53 +00:00
Benjamin Dauvergne
4104a9e12f
Core: add error codes, fix error strings
...
* lasso/errors.c, lasso/errors.h:
remove useless error code LASSO_SERVER_ERROR_INVALID_XML,
fix string for LASSO_PROFILE_ERROR_INVALID_ISSUER,
add errors codes LASSO_PROFILE_ERROR_CANNOT_VERIFY_SIGNATURE,
LASSO_PROFILE_ERROR_CANNOT_FIND_A_PROVIDER and
LASSO_PROVIDER_ERROR_MISSING_PUBLIC_KEY.
2009-03-27 15:04:38 +00:00
Benjamin Dauvergne
95d27816ee
Core: add a method to decrypt nameid, handling error cases
...
* lasso/id-dff/serverprivate.h:
* lasso/id-ff/server.c:
lasso_server_decrypt_nameid handle error case of NameID decryption,
and update passed field pointers.
* lasso/errors.h:
add new error codes:
LASSO_DS_ERROR_DECRYPTION_FAILED -118
- Decryption of an encrypted node failed
LASSO_PROFILE_ERROR_MISSING_SERVER -438
- No server object set in the profile
2009-03-09 14:05:31 +00:00
Benjamin Dauvergne
8d7c968fa8
Core: rename LOGIN_ERROR_REFER_TO_UNKNOWN_REQUEST
...
* lasso/errors.h:
* lasso/errors.c:
rename LASSO_LOGIN_ERROR_REFER_TO_UNKNOWN_REQUEST to
LASSO_LOGIN_ERROR_ASSERTION_DOES_NOT_MATCH_REQUEST_ID.
2009-03-03 20:52:41 +00:00
Benjamin Dauvergne
9c33ce6000
Core: add error code LOGIN_ERROR_REFER_TO_UNKNOWN_REQUEST
...
* lasso/errors.h, lasso/errors.c:
- LASSO_LOGIN_ERROR_REFER_TO_UNKNOWN_REQUEST is raised when a
samlp:Response contains an attribute inResponseTo when when no
previous request can be found inside the LassoLogin object or if the
given ID is not the as the one fome the previous request.
2009-01-24 09:33:58 +00:00
Benjamin Dauvergne
e77c496487
Core: add new error codes
...
* lasso/errors.h: add error codes for,
- out of memory situation,
- excess of references during validation of signature on SAML
protocols message or assertions,
- an invalid reference during validation of signatures on SAML
protocols message or assertions,
- an mismatch between requested assertion issuer and received
assertion issuer.
2009-01-24 09:33:49 +00:00
Benjamin Dauvergne
6edfa7935f
Add a new error code, with the REGISTRY prefix and use it in registry function
...
returning an error code.
Fix a typo when retrieving a quark string in the registry modulke.
Improve tests for functional mapping.
2008-09-04 11:41:39 +00:00
Benjamin Dauvergne
c879c0a510
* lasso/errors.h: new error for LassoWsfProfile signal missing Credentials
2008-08-01 14:10:59 +00:00
Benjamin Dauvergne
0b61efa7d8
* Update errors.c to last state of errors.h
2008-08-01 14:10:21 +00:00
Benjamin Dauvergne
7c9d025caf
integrate new errors messages
2008-08-01 14:09:42 +00:00
Benjamin Dauvergne
bb06442773
add a general error for a badly initialized object and two error for idwsf relating to a missing assertion id and a missing endpoint declaration
2008-08-01 14:09:19 +00:00
Benjamin Dauvergne
19e23fe748
* Move error message inside comments in lasso/errors.h
...
* Add a script to autogenerate lasso/errors.c from errors.h
* Update errors.c
* Add a target to Makefile.am to create errors.c
2008-08-01 14:08:31 +00:00
Benjamin Dauvergne
e7bdc957e8
add a general error for a badly initialized object and two error for idwsf relating to a missing assertion id and a missing endpoint declaration
2008-08-01 14:07:20 +00:00
Benjamin Dauvergne
1615e4596a
remove perl script for generating lasso_strerror, replace with a python script, do not replace errors.c if generation give the same file as before, add warning to errors.c about autogeneration, add documentation on lasso_strerror to errors.c.in
2008-05-30 13:03:06 +00:00
Benjamin Dauvergne
497294e8d0
* Move error message inside comments in lasso/errors.h
...
* Add a script to autogenerate lasso/errors.c from errors.h
* Update errors.c
* Add a target to Makefile.am to create errors.c
2008-05-30 11:17:57 +00:00
Benjamin Dauvergne
6fb74819ff
* add string translation for error LASSO_LOGIN_ERROR_STATUS_NOT_SUCCESS
2008-04-30 10:14:06 +00:00
Frédéric Péters
9ef91300b9
indentation fixes
2007-09-21 17:02:17 +00:00
Damien Laniel
73db5fc58f
processModifyResponseMsg
2007-08-08 16:03:29 +00:00
Damien Laniel
83c9fbb157
parse modify items
2007-08-06 16:45:06 +00:00
Damien Laniel
7a2d6aaf8a
check enveloppe existence in case lasso functions are called in wrong order
2007-07-05 13:10:23 +00:00
Damien Laniel
f7c23d1910
added one soap error and text for other soap errors
2007-06-29 15:23:38 +00:00
Damien Laniel
bd0913130c
better error handling + some refactoring
2007-06-13 10:09:55 +00:00
Damien Laniel
6886b79b93
various error checks, coding style and refactoring
2007-06-08 15:16:22 +00:00
Damien Laniel
4fc6657e0c
updated Copyright dates in all files
2007-05-30 17:17:45 +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
cdd45908f5
new LASSO_PROFILE_ERROR_STATUS_NOT_SUCCESS error code
2006-12-27 16:19:39 +00:00
Frédéric Péters
99f0d3df4f
new logout error code
2006-12-06 14:06:24 +00:00
Damien Laniel
4078845aa2
Added an error type when there is no key to decrypt some encrypted elements
2006-11-28 13:40:55 +00:00
Frédéric Péters
166cff9417
extra checks to pass negative testing steps
2006-11-28 10:47:31 +00:00
Frédéric Péters
4016a87eac
added loading of affiliation metadata (not yet acted upon)
2006-11-19 20:07:46 +00:00
Damien Laniel
45e7e8e448
Replaced some LASSO_ERROR_UNDEFINED with real error codes
2006-11-14 10:36:40 +00:00
Damien Laniel
59c70367cb
changed prototype for lasso_server_set_encryption_private_key and added error handling
2006-11-09 13:49:49 +00:00
Frédéric Péters
d99eecd588
error on sso initiated by idp and no endpoint defined as default for sp
2006-11-08 13:07:57 +00:00
Frédéric Péters
f03a5ddf5b
error code for missing assertion
2006-11-06 09:53:31 +00:00
Damien Laniel
a3f603c8bd
Added some error cases
2006-11-02 10:50:43 +00:00
Frédéric Péters
803d916410
new error code for missing artifact
2006-10-29 18:09:18 +00:00
Frédéric Péters
313f6236bc
checking pointers...
2006-10-26 07:16:58 +00:00
Frédéric Péters
b08ae207c0
better error handling in slo
2006-09-28 16:09:54 +00:00
Frédéric Péters
e42861c2aa
added missing comma
2006-05-11 11:51:29 +00:00
Frédéric Péters
6e7c43cc67
error message
2006-05-11 08:19:24 +00:00
Frédéric Péters
6c9b660be4
don't say undefined when it is, just lacking a description string, bugger.
2006-05-10 08:04:41 +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
Nicolas Clapies
367d20203b
Added a first soap fault code error.
2005-11-15 11:02:26 +00:00
Frédéric Péters
2c7c3b6d51
added error string for LASSO_LOGOUT_ERROR_REQUEST_DENIED (...)
2005-10-05 11:46:19 +00:00
Frédéric Péters
cd708cc417
added LASSO_ERROR_UNIMPLEMENTED error code
2005-08-12 09:10:19 +00:00
Frédéric Péters
37e124af5d
return LASSO_LOGIN_ERROR_UNKNOWN_PRINCIPAL after unsuccessful logon
2005-08-10 11:29:52 +00:00
Romain Chantereay
a59bc65c10
Included xml.h for better lasso_strerror export declaration.
2005-02-14 13:55:48 +00:00