Commit Graph

32 Commits

Author SHA1 Message Date
Benjamin Dauvergne fd256b2269 Docs: change the doc production and lot of other fixes
* 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
2009-08-26 15:15:07 +00:00
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 ec1e294616 Add missing initializations. 2008-10-22 03:28:47 +00:00
Damien Laniel a18ddb94e0 fixed various bugs with new compilation flags 2008-09-16 16:31:05 +00:00
Benjamin Dauvergne 9ed0670e48 * Remove ending blanks 2008-09-12 15:06:58 +00:00
Benjamin Dauvergne 207891ff29 * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and formatting 2008-08-05 14:53:29 +00:00
Benjamin Dauvergne ff2a26b9de * lasso/id-wsf-2.0/profile.c, lasso/id-wsf/authentication.c: adapt to change of
name of id attribute in LassoSoapBody
2008-08-01 14:11:15 +00:00
Benjamin Dauvergne 76d9fce5d5 forked lasso branch for adeline 2008-08-01 14:08:54 +00:00
Frédéric Péters bc56d07345 removed direct usage of g_object_unref from lasso_*_destroy methods 2007-11-22 12:42:47 +00:00
Damien Laniel 4fc6657e0c updated Copyright dates in all files 2007-05-30 17:17:45 +00:00
Frédéric Péters 4b75639c20 cleaning warnings signaled by gcc 2007-04-19 12:55:55 +00:00
Frédéric Péters c8fa8f21b4 removing white space on blank line 2007-01-06 22:53:19 +00:00
Frédéric Péters 685adebeec removing spaces from otherwise white lines 2007-01-06 22:52:28 +00:00
Frédéric Péters 58477d96d8 harmonized LASSO_PARAM_ERROR_BAD_TYPE_OR_NULL_OBJ and
LASSO_PARAM_ERROR_INVALID_VALUE usage
2006-12-28 17:46:32 +00:00
Frédéric Péters d5c4e974eb coding style improvements 2006-12-28 10:56:13 +00:00
Frédéric Péters 9b9166d797 fixing a bunch of possible segfaults (NULL passed to strlen) 2006-12-27 16:00:53 +00:00
Frédéric Péters 8d8f3288a8 fixing a bunch of undeclared functions and possible segfaults; also removed
some debugging printf.  (ID-WSF is now warning-free (but char signedness))
2006-12-27 15:57:07 +00:00
Frédéric Péters 011bc44569 random fixage of warning displayed with -Wall 2006-11-14 17:07:31 +00:00
Damien Laniel 6b5d28d703 tests on possibly null pointers 2006-11-02 10:48:31 +00:00
Frédéric Péters 313f6236bc checking pointers... 2006-10-26 07:16:58 +00:00
Frédéric Péters f348a73bb1 cast strings to xmlChar* for correct signedness 2006-03-04 15:50:31 +00:00
Nicolas Clapies 3153eb8591 First attempt to implement authentication security mechanism. Only SAML is implemented and it needs improvement. 2005-09-19 14:40:51 +00:00
Nicolas Clapies ffb2307e4a Fixed removed code in previous commit. Fixed some rules from liberty spec : mutli mechanism, null mechanism. Added namespace for service authentication. 2005-04-01 07:57:25 +00:00
Nicolas Clapies 243aec9a6b Updated authentication service : fixed error when parsing data from client. Removed hard code to build soap envelope by call to common function from wsf_profile.h. 2005-03-21 13:17:27 +00:00
Nicolas Clapies 4b861c0cf7 Updated authentication service : now it has hard coded collbacks. developer must use LassoUserAccount to inform sasl about login and password. 2005-03-18 09:14:27 +00:00
Nicolas Clapies 9552f5b08c Added credentials and resource offerings if authentication is OK. 2005-03-02 17:15:34 +00:00
Nicolas Clapies 656d132c7b soap envelope / binding support. 2005-03-02 08:29:21 +00:00
Nicolas Clapies 3d1211dd9f Removed odd printf(). 2005-02-24 16:48:30 +00:00
Nicolas Clapies 95cb533533 Added support of cyrus libsasl in id-wsf authentication service. 2005-02-24 16:47:16 +00:00
Nicolas Clapies e2f3780729 Added high level of authentication service : standard methods of a lasso service. Must be improved depending on the needs from souk implementation. 2005-02-14 10:46:24 +00:00