Commit Graph

108 Commits

Author SHA1 Message Date
Benjamin Dauvergne f0733e145f add defined for the XML namespace 2017-08-12 10:32:20 +02:00
Benjamin Dauvergne 882e8e21f8 xml: fix wrong termination of comment 2015-11-24 19:32:09 +01:00
John Dennis eadc660d35 Add missing urn constants used in PAOS HTTP header
The new OASIS "SAML V2.0 Enhanced Client or Proxy Profile Version 2.0"
specification added new options that can appear in the PAOS HTTP header.

Section 2.3.1 enumerates the following URN options which can appear
in the PAOS HEADER:

urn:oasis:names:tc:SAML:protocol:ext:channel-binding
urn:oasis:names:tc:SAML:2.0:cm:holder-of-key
urn:oasis:names:tc:SAML:2.0:profiles:SSO:ecp:2.0:WantAuthnRequestsSigned
urn:oasis:names:tc:SAML:2.0:conditions:delegation

Of these only the holder-of-key was previously defined in Lasso,
this patch adds the other 3 constants.

License: MIT
Signed-off-by: John Dennis <jdennis@redhat.com>
2015-10-15 18:27:38 +02:00
John Dennis 9629925c1e Add LassoNode objects for ECP and PAOS
The SAMLv2 protocol defines 5 XML types which we need to map to
LassoNode objectes so thay can be serialized from XML and back into
XML.

ecp:RelayState
ecp:Request
ecp:Response
paos:Request
paso:Response

This patch addes these 5 new LassoNode's and updates the build
configuration to include them.

Signed-off-by: John Dennis <jdennis@redhat.com>
License: MIT
2015-08-24 16:05:29 +02:00
Simo Sorce 3a6b2fdee7 Fix license boilerplates
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>
2013-12-03 21:55:06 +01:00
Benjamin Dauvergne 3dca5c2afa [doc] do some documentation fixing 2011-12-22 18:21:12 +01:00
Benjamin Dauvergne 727f07b1ae Simplify useless complexity in include paths 2011-12-16 14:17:31 +01:00
Benjamin Dauvergne 9a31985671 [xml] add LASSO_XMLENC_PREFIX and LASSO_XMLENC_HREF defines 2011-12-16 11:39:24 +01:00
Benjamin Dauvergne f4fc26bb39 [core] move XMLDsig related nodes in their own sub-library, add X509Data node implementation
The goal is to use the KeyInfo structure as a transport format for our cryptographic keys
2011-12-16 11:39:18 +01:00
Benjamin Dauvergne b9d5356259 [ID-WSFv1&ID-WSFv2] separate better strings for ID-WSF from other strings
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.
2010-09-09 01:09:28 +02:00
Benjamin Dauvergne f245907b8c [SAMLv2] when failing to recreate the content for the ArtefactResponse set a lasso specific status code 2010-09-03 19:02:42 +02:00
Benjamin Dauvergne 35ff3d6950 [Strings] add string constant for the internal XML attributes used in dumps
Add string constants for signature method, signature type, private key
(file path or content), private key password and certificate (file path
or content).

Add cast for xmlChar constant strings definition in python bindings, it
assumed all constant strings were char*.
2010-09-03 19:02:37 +02:00
Benjamin Dauvergne 2b15a5a97f SAML 2.0: move SAML 2.0 strings to their own header, add documentation
* lasso/xml/strings.h:
   remove SAML 2.0 strings
 * lasso/xml/saml-2.0/saml2_strings.h:
   move them here, document useful ones.
2010-02-10 16:00:34 +00:00
Benjamin Dauvergne 6b601b55ee Documentation: complete non finished documentation comments
* too much warnings when generating doc, now we can concentrate on
   undocumented symbols (in
   lasso/docs/reference/lasso/lasso-undocumented.txt).
2010-02-10 13:58:40 +00:00
Benjamin Dauvergne d1fdad1d6a SAML 2.0: complete list of field names for SAML 2.0 2010-02-10 00:34:51 +00:00
Benjamin Dauvergne c9bf68c8c7 Add strings for SAML2 field names for POST, Redirect and Artifact bindings 2010-02-10 00:33:56 +00:00
Benjamin Dauvergne 0d1b1a624a ID-WSF: separate ID-WSF strings into their own header 2010-01-14 16:18:39 +00:00
Benjamin Dauvergne 9df401c187 ID-WSF 2.0 XML: in strings.h, add identifiers from ID-WSF 2.0
standards

 - add status code for ID-WSF 2.0 DST
 - add token usage identifiers
 - conform security mechanism identifiers to ID-WSF 2.0 Liberty Sech
   Mech specification
 - add Discovery Service status codes
 - add Soap Binding status codes
 - add disco result type and user interaction hint strings
2010-01-04 09:15:14 +00:00
Benjamin Dauvergne b77954cf39 SAML 2.0 XML: in strings.h, add the identifier for the holder of key subject confirmation method 2010-01-04 09:14:12 +00:00
Benjamin Dauvergne d7baad63d4 Add C defines for SAML 2 'unspecified' authncontext class
* lasso/xml/strings.h:
    add C defines for AuhtnContextClassRef,
    urn:oasis:names:tc:SAML:2.0:ac:classes:unspecified.
2009-10-30 15:04:46 +00:00
Benjamin Dauvergne 8f6e7dcb49 ID-WSF: fix duplication of namespace string declaration, add fault codes for WS-Security
* lasso/xml/strings.h:
   namespace of WS-Security 1.0 was duplicated,
   add specified fault code linked to WS-Security.
2009-09-11 15:51:38 +00:00
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 204e99ab34 XML: add string constant for client soap errors
* lasso/xml/strings.h: add new string constant
  LASSO_SOAP_FAULT_CODE_CLIENT.
2009-08-26 15:13:33 +00:00
Damien Laniel ce1c571104 reorganised string constants definitions 2009-01-26 18:07:08 +00:00
Damien Laniel 5a51211f40 fixed fault code and use a more precise fault string 2008-12-12 16:48:18 +00:00
Benjamin Dauvergne 9ed0670e48 * Remove ending blanks 2008-09-12 15:06:58 +00:00
Benjamin Dauvergne bcf3b56daf Add functional mappings and test code that goest with it. 2008-08-26 12:49:09 +00:00
Benjamin Dauvergne 2d1e988b5f add strings for security mechanism defined in ID-WSF 1.1 2008-08-01 14:09:24 +00:00
Benjamin Dauvergne 76d9fce5d5 forked lasso branch for adeline 2008-08-01 14:08:54 +00:00
Benjamin Dauvergne 17d3fb250d change strings for security mechanisms to comply with the spec 2008-08-01 14:08:34 +00:00
Frédéric Péters e5ba6151ba moved gtk-doc inline as is better on so many points; also added schema
fragments to published doc
2008-05-15 21:17:44 +00:00
Benjamin Dauvergne 3c0024e7ee * Suppression de #define doublons.
* Ajout d'un commentaire déclaratif /* of LassoXXX */ à une déclaration
 d'un membre de structure de type GList*.
2008-02-18 17:29:50 +00:00
Damien Laniel 1d31240992 fixed mixing epr assertion attribute with other custom attributes 2008-01-14 17:13:07 +00:00
Damien Laniel 8a846c1abe added all missing name identifier formats 2007-12-06 11:24:28 +00:00
Frédéric Péters 288bfa8b39 added namespaces used by other parts of id-wsf 2 2007-07-06 18:47:55 +00:00
Damien Laniel dfe7e09a7f added initRedirectUserForConsent 2007-06-29 14:02:29 +00:00
Damien Laniel bd0913130c better error handling + some refactoring 2007-06-13 10:09:55 +00:00
Damien Laniel 4fc6657e0c updated Copyright dates in all files 2007-05-30 17:17:45 +00:00
Damien Laniel 9b9d50558b fixed attribute name and name format 2007-05-03 16:48:37 +00:00
Damien Laniel 62bf5562a7 fixed spaces 2007-05-02 13:22:33 +00:00
Damien Laniel f905d8ed8f added identity token into metadata_association_add messages 2007-04-30 22:50:22 +00:00
Damien Laniel 5c99d2ea80 implemented discovery query 2007-04-24 15:25:08 +00:00
Damien Laniel 31f42481c5 removed id-wsf 1 soap headers and added wsu_timestamp id-wsf 2.0 element 2007-04-12 12:16:33 +00:00
Frédéric Péters dc25a012e9 added WS-Addr classes 2007-04-11 13:10:20 +00:00
Frédéric Péters 8f0c0a866e target namespace for disco would better be disco, not ds, to avoid confusion 2007-04-11 09:27:37 +00:00
Frédéric Péters d370faf824 adding all ID-WSF 2.0 namespaces 2007-04-08 12:55:53 +00:00
Damien Laniel e92277593f new strings declarations 2007-04-03 13:48:23 +00:00
Damien Laniel b69f9c8b73 Support for name-id:format:encrypted in NameIdPolicy in Authnrequest 2006-11-27 11:05:27 +00:00
Frédéric Péters da904e0bb3 binding for SAML2 binding uri; and fixed SAML20 to SAML2 for coherence 2006-11-15 18:58:26 +00:00
Nicolas Clapies 85d8ea7d4b Fixed big mistake about PAOS naming. Added more strict check when trying to process PAOS response in login.c. 2006-11-14 15:09:29 +00:00