summaryrefslogtreecommitdiffstats
path: root/lasso/errors.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix license boilerplatesSimo Sorce2013-12-031-2/+1
| | | | | | | Instad of referring to an old FSF address, point the reader to the FSF website where the latest licenses and addresses are published. Signed-off-by: Simo Sorce <simo@redhat.com>
* errors.{c,h}: add new error LASSO_PROFILE_ERROR_ENDPOINT_INDEX_NOT_FOUND for ↵Benjamin Dauvergne2013-09-081-0/+2
| | | | reporting when a recevied artifact does match any declared endpoint
* build: do not include multiple glib headersFrédéric Péters2012-04-021-1/+1
|
* [core] add a new class of errors for xml encryption errorsBenjamin Dauvergne2011-11-221-0/+2
| | | | | add LASSO_XMLENC_ERROR_INVALID_ENCRYPTED_DATA for generic unrecoverable xml decryption errors.
* [saml2] add proper error code for partial logout status codeBenjamin Dauvergne2011-05-081-0/+2
|
* [core] add a generic LASSO_PROFILE_ERROR_REQUEST_DENIEDBenjamin Dauvergne2011-04-211-0/+2
|
* [core] make lasso_server_load_metadata load any metadata fileBenjamin Dauvergne2011-04-041-0/+2
| | | | | | | The new code can load metadata file with a EntityDescriptor root node, and with nested EntitiesDescriptor. Idea and prototype by Olav Morken.
* SAMLv2: add new methods to class LassoAssertionQueryBenjamin Dauvergne2010-06-101-0/+4
| | | | | | | | * lasso_assertion_query_add_attribute_request: helper to setup request attribute for AttributeQuery messages. * lasso_assertion_query_get_request_type: method to find the type of the last received query. * fixes #90
* Core: add PROFILE errors around assertion validationBenjamin Dauvergne2010-03-021-1/+11
| | | | | | | | * lasso/errors.c lasso/errors.h: - add errors concerning invalid assertion, assertion with invalid conditions, unknown issuers, or when the issuer is not a provider we marked as an IdP. - add error for missing sender id in an ID-WSF message.
* Support multiline error messages in build_strerror.pyBenjamin Dauvergne2010-02-221-6/+6
|
* ID-WSF 2.0: add error code signaling that the requester does not support ↵Benjamin Dauvergne2010-02-171-1/+3
| | | | | | | | redirect request * lasso/errors.c lasso/errors.h: add LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST_UNSUPPORTED_BY_REQUESTER.
* Add error codes, update error codes documentation, reduce changes in ↵Benjamin Dauvergne2010-02-101-266/+272
| | | | | | | | | | | | | | | errors.c by ordering error codes * lasso/errors.h lasso/errors.c - add to report non schema conforming XML trees, decyrption failure due to missing private keys and invalid signatures on assertions. - update documentation of LASSO_SERVER_ERROR_PROVIDER_NOT_FOUND, LASSO_SERVER_ERROR_ADD_PROVIDER_PROTOCOL_MISMATCH, * lasso/build_strerror.py: before outputting switch cases, order error codes name lexically in order to reduce change lines when adding new error codes.
* Core: update errors.c fileBenjamin Dauvergne2010-01-261-0/+2
|
* Fix name of LASSO_WSSEC_BAD_PASSWORDBenjamin Dauvergne2010-01-251-2/+0
| | | | | | | * lasso/errors.c lasso/errors.h: LASSO_WSSE_BAD_PASSWORD -> LASSO_WSSEC_ERROR_BAD_PASSWORD * lasso/xml/ws/wsse_username_token.c: update client code.
* WS: complete support for wsse:UsernameTokenBenjamin Dauvergne2010-01-191-0/+2
| | | | | | | | | | | | | * docs/reference/lasso/lasso-sections.txt: add new functions and change type name in documentation. * lasso/errors.h lasso/errors.c: add an error to report password verification failure * lasso/xml/ws/wsse_username_token.h lasso/xml/ws/wsse_username_token.c: update support for wsse:UsernameToken up to version 1.1, implement digest and derived keys computations. * lasso/xml/idwsf_strings.h: add strings for Username WS-Security Token profile
* Fix ABI breakage with respect to 2.2.1Benjamin Dauvergne2010-01-141-0/+2
|
* SAML 2.0: overhaul for ubuquitous binding support, still need work for ↵Benjamin Dauvergne2010-01-121-0/+10
| | | | HTTP-Artefact
* ID-WSF 2.0&ID-WSF: in profile.c, wsf_profile.c, errors.c, errors.h, and in ↵Benjamin Dauvergne2010-01-041-2/+2
| | | | lasso-sections.txt change LASSO_SOAP_FAULT_REDIRECT_REQUEST to LASSO_SOAP_ERROR_REDIRECT_REQUEST_FAULT
* ID-WSF 2.0 Errors: in errors.{c,h}, add new errors code for ID-WSF 2.0Benjamin Dauvergne2010-01-041-3/+29
| | | | | | - add LASSO_DST_ERROR_EMPTY_REQUEST - add LASSO_WSF_PROFILE_ERROR_SECURITY_MECHANISM_CHECK_FAILED - add new errors codes for generic profiles and disco service
* WS Errors: in errors.h errors.c, add new error section for WS-Security handlingBenjamin Dauvergne2010-01-041-0/+2
|
* Core: add new errors LASSO_PROFILE_ERROR_INVALID_RESPONSE, ↵Benjamin Dauvergne2010-01-041-4/+8
| | | | LASSO_PROFILE_ERROR_INVALID_REQUEST.
* Docs: change the doc production and lot of other fixesBenjamin Dauvergne2009-08-261-12/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lasso/Makefile.am: distribute extract_sections.py * docs/references/lasso/lasso.types.in: add missing class (mainly SAML2 and ID-WSF 1.0/2.0) from docs/references/lasso.types.in * lasso/xml/strings.h: add lots of documentation, or at least documentation template to strings constants. * id-ff/login.h: * saml-2.0/assertion_query.h: * xml/xml.h: document undocumented enumerations. * lasso/errors.h: add proper documentation about error codes. * lasso/errors.c: new version of the lasso_strerror function * lasso/build_strerror.py: update the script that generater lasso_strerror from the documentation comments. Remove usage of OFTYPE * lasso/id-ff/session.c: * lasso/id-ff/session.h: remove usage of oftype, prefer gtk-introspection annotations instead. * lasso/id-wsf/data_service.h: * lasso/id-wsf/data_service.c: do the same. Add a script to build lasso-sections.txt * lasso/extract_sections.py: this script parses header files and generated lasso-sections.txt content for GObject class descriptions. Add a template file for the lasso-section.txt file * docs/references/lasso-sections.txt.in: this file serves as a base for the generation of lasso-sections.txt Update docs/references/Makefile.am for generating lasso-sections.txt * docs/references/Makefile.am: always rebuild template, using out of source build directory is too weird without it. call new script extract_sections.py to regenerate lasso-sections.txt if header files changed. Update lasso.sgml file with all missing sections * docs/reference/lasso.sgml: add all missing sections, mainly objects from XML schemas. * docs/reference/lasso-sections.txt: update it * *.c: add section documentation to some files. * lasso/xml/strings.h: fix bad usage or docbook markup
* All: Rework include files handling, separated ID-WSF code from SAML2/ID-FF codeBenjamin Dauvergne2009-08-261-2/+2
| | | | | | | | | | | | | * 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.
* Core: Add new error typesBenjamin Dauvergne2009-08-261-2/+12
| | | | | | | | | * 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.
* ID-WSF 1.0: Add new error to signal unknown entryBenjamin Dauvergne2009-08-261-0/+2
| | | | | * lasso/errors.{c,h}: add a new error for the ID-WSF 1.0 module, to signal unknown entry in discovery responses.
* Core: Remove ending blanks from erros.c.inBenjamin Dauvergne2009-03-271-4/+4
| | | | * lasso/errors.c.in: errors.c template contains blanks at end of lines.
* Core: add error codes, fix error stringsBenjamin Dauvergne2009-03-271-3/+11
| | | | | | | | | * 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.
* Core: add a method to decrypt nameid, handling error casesBenjamin Dauvergne2009-03-091-0/+4
| | | | | | | | | | | | | * 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
* Core: rename LOGIN_ERROR_REFER_TO_UNKNOWN_REQUESTBenjamin Dauvergne2009-03-031-2/+2
| | | | | | | * lasso/errors.h: * lasso/errors.c: rename LASSO_LOGIN_ERROR_REFER_TO_UNKNOWN_REQUEST to LASSO_LOGIN_ERROR_ASSERTION_DOES_NOT_MATCH_REQUEST_ID.
* Core: add error code LOGIN_ERROR_REFER_TO_UNKNOWN_REQUESTBenjamin Dauvergne2009-01-241-0/+2
| | | | | | | | * 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.
* Core: add new error codesBenjamin Dauvergne2009-01-241-6/+14
| | | | | | | | | | | * 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.
* Add a new error code, with the REGISTRY prefix and use it in registry functionBenjamin Dauvergne2008-09-041-0/+2
| | | | | | returning an error code. Fix a typo when retrieving a quark string in the registry modulke. Improve tests for functional mapping.
* * lasso/errors.h: new error for LassoWsfProfile signal missing CredentialsBenjamin Dauvergne2008-08-011-0/+2
|
* * Update errors.c to last state of errors.hBenjamin Dauvergne2008-08-011-1/+4
|
* integrate new errors messagesBenjamin Dauvergne2008-08-011-7/+9
|
* add a general error for a badly initialized object and two error for idwsf ↵Benjamin Dauvergne2008-08-011-2/+1
| | | | relating to a missing assertion id and a missing endpoint declaration
* * Move error message inside comments in lasso/errors.hBenjamin Dauvergne2008-08-011-1/+2
| | | | | | * Add a script to autogenerate lasso/errors.c from errors.h * Update errors.c * Add a target to Makefile.am to create errors.c
* add a general error for a badly initialized object and two error for idwsf ↵Benjamin Dauvergne2008-08-011-2/+1
| | | | relating to a missing assertion id and a missing endpoint declaration
* remove perl script for generating lasso_strerror, replace with a python ↵Benjamin Dauvergne2008-05-301-289/+190
| | | | 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
* * Move error message inside comments in lasso/errors.hBenjamin Dauvergne2008-05-301-146/+279
| | | | | | * Add a script to autogenerate lasso/errors.c from errors.h * Update errors.c * Add a target to Makefile.am to create errors.c
* * add string translation for error LASSO_LOGIN_ERROR_STATUS_NOT_SUCCESSBenjamin Dauvergne2008-04-301-0/+2
|
* indentation fixesFrederic Peters2007-09-211-2/+2
|
* processModifyResponseMsgDamien Laniel2007-08-081-0/+2
|
* parse modify itemsDamien Laniel2007-08-061-0/+6
|
* check enveloppe existence in case lasso functions are called in wrong orderDamien Laniel2007-07-051-0/+2
|
* added one soap error and text for other soap errorsDamien Laniel2007-06-291-0/+6
|
* better error handling + some refactoringDamien Laniel2007-06-131-3/+10
|
* various error checks, coding style and refactoringDamien Laniel2007-06-081-0/+15
|
* updated Copyright dates in all filesDamien Laniel2007-05-301-1/+1
|
* replaced LASSO_ERROR_UNDEFINED by appropriate error codes in all of xml/ andFrederic Peters2006-12-281-0/+3
| | | | id-ff/