summaryrefslogtreecommitdiffstats
path: root/lasso/id-wsf/authentication.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>
* Simplify useless complexity in include pathsBenjamin Dauvergne2011-12-161-1/+1
|
* [ID-WSFv1&ID-WSFv2] separate better strings for ID-WSF from other stringsBenjamin Dauvergne2010-09-091-0/+1
| | | | | | Code in core source file which depend upon ID-WSF symbols have been conditionalized, and each id-wsf source file now include directly its need string header.
* Initialize all uninitialized rc variablesBenjamin Dauvergne2010-04-301-1/+1
|
* Improve safety by replacing all g_free use by lasso_releaseBenjamin Dauvergne2010-04-221-7/+8
|
* ID-WSF 1.0 & 2.0: complete lasso-sections.txt, add internal API to access ↵Benjamin Dauvergne2010-01-261-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | SOAP headers, complete WS-Addressing support * docs/reference/lasso/lasso-sections.txt: complete documentation of LassoSoapEnvelope and LassoSoapFault with ID-WSF additions. * lasso/id-wsf-2.0/profile.c lasso/id-wsf-2.0/soap_binding.c lasso/id-wsf-2.0/soap_binding.h: add internal function _get_node and _get_header to simplify implementation of accessors for headers. change signature of lasso_soap_envelope_get_message_id and add new function lasso_soap_envelope_get_relates_to. update call points. add a message id when building a SOAP message. * lasso/xml/idwsf_strings.h: add element name for MessageID and RelatesTo WS-Addressing elements. * lasso/id-wsf/authentication.c lasso/id-wsf/data_service.c lasso/id-wsf/discovery.c lasso/id-wsf/wsf_profile.c lasso/id-wsf-2.0/saml2_login.c lasso/xml/disco_description.c: fix path name of header lasso/id-wsf/wsf_utils.h. make all internal include path relatives.
* Do not use g_new, use g_new0Benjamin Dauvergne2009-09-291-1/+1
| | | | | | | | | | | | | * lasso/id-ff/federation.c: * lasso/id-ff/logout.c: * lasso/id-ff/profile.c: * lasso/id-ff/provider.c: * lasso/id-ff/server.c: * lasso/id-ff/session.c: * lasso/id-wsf/authentication.c: * lasso/saml-2.0/ecp.c: * lasso/xml/xml.c: even for private datas, use g_new0, it is safer.
* Docs: change the doc production and lot of other fixesBenjamin Dauvergne2009-08-261-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-4/+4
| | | | | | | | | | | | | * 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: do not mix public and private headersBenjamin Dauvergne2009-03-271-0/+1
| | | | | * lots of files: explicitely load the internal header xml/private.h where needed.
* All: Fix missing field initializer problemsBenjamin Dauvergne2009-01-241-0/+1
| | | | | | * 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.
* Add missing initializations.Benjamin Dauvergne2008-10-221-1/+1
|
* fixed various bugs with new compilation flagsDamien Laniel2008-09-161-3/+3
|
* * Remove ending blanksBenjamin Dauvergne2008-09-121-10/+10
|
* * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and ↵Benjamin Dauvergne2008-08-051-49/+49
| | | | formatting
* * lasso/id-wsf-2.0/profile.c, lasso/id-wsf/authentication.c: adapt to change ofBenjamin Dauvergne2008-08-011-1/+1
| | | | name of id attribute in LassoSoapBody
* forked lasso branch for adelineBenjamin Dauvergne2008-08-011-3/+39
|
* removed direct usage of g_object_unref from lasso_*_destroy methodsFrederic Peters2007-11-221-1/+1
|
* updated Copyright dates in all filesDamien Laniel2007-05-301-1/+1
|
* cleaning warnings signaled by gccFrederic Peters2007-04-191-28/+35
|
* removing white space on blank lineFrederic Peters2007-01-061-1/+1
|
* removing spaces from otherwise white linesFrederic Peters2007-01-061-1/+1
|
* harmonized LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ andFrederic Peters2006-12-281-9/+8
| | | | LASSO_PARAM_ERROR_INVALID_VALUE usage
* coding style improvementsFrederic Peters2006-12-281-7/+4
|
* fixing a bunch of possible segfaults (NULL passed to strlen)Frederic Peters2006-12-271-3/+3
|
* fixing a bunch of undeclared functions and possible segfaults; also removedFrederic Peters2006-12-271-2/+0
| | | | some debugging printf. (ID-WSF is now warning-free (but char signedness))
* random fixage of warning displayed with -WallFrederic Peters2006-11-141-4/+4
|
* tests on possibly null pointersDamien Laniel2006-11-021-0/+6
|
* checking pointers...Frederic Peters2006-10-261-0/+10
|
* cast strings to xmlChar* for correct signednessFrederic Peters2006-03-041-2/+2
|
* First attempt to implement authentication security mechanism. Only SAML is ↵Nicolas Clapies2005-09-191-3/+3
| | | | implemented and it needs improvement.
* Fixed removed code in previous commit. Fixed some rules from liberty spec : ↵Nicolas Clapies2005-04-011-8/+63
| | | | mutli mechanism, null mechanism. Added namespace for service authentication.
* Updated authentication service : fixed error when parsing data from client. ↵Nicolas Clapies2005-03-211-133/+51
| | | | Removed hard code to build soap envelope by call to common function from wsf_profile.h.
* Updated authentication service : now it has hard coded collbacks. developer ↵Nicolas Clapies2005-03-181-62/+257
| | | | must use LassoUserAccount to inform sasl about login and password.
* Added credentials and resource offerings if authentication is OK.Nicolas Clapies2005-03-021-1/+6
|
* soap envelope / binding support.Nicolas Clapies2005-03-021-29/+74
|
* Removed odd printf().Nicolas Clapies2005-02-241-3/+0
|
* Added support of cyrus libsasl in id-wsf authentication service.Nicolas Clapies2005-02-241-12/+284
|
* Added high level of authentication service : standard methods of a lasso ↵Nicolas Clapies2005-02-141-0/+210
service. Must be improved depending on the needs from souk implementation.