Commit Graph

27 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 fbfbe5553d ID-FF&Core: Seal public field of LassoSession
* id-ff/session.h: seal public fields.

 * id-ff/session.c, id-ff/sessionprivate.h: add accessors for reading
   the is_dirty flag and counting store assertions.

 * id-ff/logout.c, id-ff/login.c, saml-2.0/login.c, saml-2.0/logout.c,
   saml-2.0/profile.c: use the new accessors.

 * id-ff/profile.c: include the private header file, use the new
   accessors, and remove unnecessary setting of is_dirty to FALSE (it
   should be false at instanciation).

 * utils.h: add a macro to access private content, prepare for using
   G_TYPE_INSTANCE_GET_PRIVATE and the GObject infrastructure for
   private structures eventually.
2009-08-26 15:13:55 +00:00
Damien Laniel b639ada4ee fixed binding generation 2009-02-06 11:08:17 +00:00
Damien Laniel 5aafc13002 documentation-related fixes 2009-01-26 16:42:19 +00:00
Benjamin Dauvergne bb6c08ee16 Core: add decorator on GList return value in LassoSession header
* lasso/id-ff/session.h: add the OFTYPE decorator to the return type of
  lasso_session_get_assertions.
2009-01-24 09:34:29 +00:00
Benjamin Dauvergne 9ed0670e48 * Remove ending blanks 2008-09-12 15:06:58 +00:00
Benjamin Dauvergne 0546219300 Add an index of assertions by ID and two new function
lasso_session_add_assertion_with_id(session, id, assertion)
and
lasso_session_get_assertion_by_id(session, id)
Add to lasso_session_add_assertion a call to add_assertion_with_id,
to index all assertions into the index by id.
2008-08-01 14:08:14 +00:00
Damien Laniel a57dc25f85 added item types for GHashTable 2007-11-13 16:12:25 +00:00
Damien Laniel 4fc6657e0c updated Copyright dates in all files 2007-05-30 17:17:45 +00:00
Damien Laniel de142fe27f replaced svcMDs with svcMDIDs in identity and moved EPRs from identity to session 2007-05-08 23:29:00 +00:00
Frédéric Péters e537d4ecf8 new lasso_session_get_assertions, returns GList* of (incref'd) assertions 2005-01-26 10:05:45 +00:00
Emmanuel Raviart 7a03e99b09 Updated Copyright and authors. 2005-01-22 15:57:56 +00:00
Frédéric Péters 34693bbab4 Moved #LassoSession private functions (limited to Lasso internal use) to a new
sessionprivate.h file.
2004-12-30 11:05:26 +00:00
Frédéric Péters 70801607cf Store status in session to be restored for samlp:Response usage. This means
the session *must* be saved in single sign-on service url and will be dirty.

(so souk, libertyidentity.py line 1076 failIf(login.isSessionDirty) will fail)
2004-12-29 11:00:20 +00:00
Frédéric Péters d99a72fa4d documented #LassoSession. Removed lasso_session_get_authentication_method and
lasso_session_get_first_providerID methods that were obsolete and unused.
2004-12-23 10:39:02 +00:00
Frédéric Péters cd4f3ea1fc indentation work 2004-11-25 22:51:39 +00:00
Frédéric Péters c556e1fdcc limit line length to 100 characters. 2004-11-25 22:25:51 +00:00
Frédéric Péters ae5ffe0468 renamed private struct member to private_data (gtk+ does it like that) 2004-11-22 16:10:41 +00:00
Frédéric Péters f13772d62d Done with the move to structures and the removal of protocols/ (lasso branched
on October 2nd; occasional merges since then).

- Compatible with current souk test suites.
- Missing memory management for everything in xml/
- Missing xmlsec support for SOAP messages.
2004-10-27 09:49:13 +00:00
Valery Febvre 3bbc625ec8 Fixed bug #303 2004-09-27 15:01:43 +00:00
Nicolas Clapies 6b6ba1f14d Moved support of provider index from session to logout. Now only the logout knows the current index of the provider id to request, and the session can only return the provider id from an index 2004-09-01 14:14:32 +00:00
Nicolas Clapies fac7a1c274 Added method lasso_session_get_first_providerID(). Now to get the first providerID use it instead of lasso_session_get_next_providerID() 2004-08-31 16:22:12 +00:00
Nicolas Clapies eaa4b813fc Added index attribute (session->index_providerID) of next provider id returned when a call to lasso_session_get_providerID(), added lasso_session_reset_index_providerID() to reset the index to the first provider id of assertion list. the index is decremented when removing assertion. lasso_get_next_providerID() returns NULL if there is no assertion anymore or if the index point is at the end of the list. Added lasso_logout_get_next_providerID() lasso_logout_reset_index_providerID() to wrap session method 2004-08-27 13:44:07 +00:00
Valery Febvre 699a7d92b5 Fixed a typing mistake
all durty -> dirty
2004-07-30 14:22:57 +00:00
Valery Febvre 2f28f2508d Added new attribute is_durty in LassoIdentity & LassoSession classes 2004-07-30 13:31:39 +00:00
Valery Febvre 9c435c7096 Added session class 2004-07-29 13:55:52 +00:00