Commit Graph

4942 Commits

Author SHA1 Message Date
Benjamin Dauvergne 8e8afcbd35 Merge branch 'hotfixes-2.3.2' 2010-09-07 19:27:42 +02:00
Benjamin Dauvergne 5ef593cfda Increment revision in version 2010-09-07 19:10:48 +02:00
Benjamin Dauvergne ba2705bbd7 Update files for release 2.3.2 2010-09-07 19:03:21 +02:00
Benjamin Dauvergne fb23db3ca6 Fix lasso soname change
If new interfaces are added, first and last number must be incremented.
As new enumeration value have been added, this is the case.
2010-09-07 19:02:46 +02:00
Benjamin Dauvergne 61dd8b7eb9 Merge commit 'origin/master' 2010-09-07 17:09:39 +02:00
Benjamin Dauvergne 3e8c2b24b7 Merge branch 'hotfixes-2.3.1' 2010-09-07 17:02:12 +02:00
Benjamin Dauvergne 9af598f85c Update files for release 2.3.1 2010-09-07 16:39:01 +02:00
Benjamin Dauvergne b1f6b7e0ed [SAMLv2] when no artifact message is present, still return a success status
It is mandated by the specification.
2010-09-07 10:34:34 +02:00
Benjamin Dauvergne 08d61d5c95 [Tests integration] fix configuration variable name 2010-09-06 16:32:39 +02:00
Benjamin Dauvergne 3f336a8e83 Merge branch 'develop' into hotfixes-2.3.1 2010-09-03 19:07:08 +02:00
Benjamin Dauvergne 9ab6b944f1 [Core] fix memory leak in lasso_endpoint_free 2010-09-03 19:05:27 +02:00
Benjamin Dauvergne aaca9ce992 [ID-FFv1.2&SAMLv2] add more warning for failure to load metadata file
Report detailf of the failure through warning log.
2010-09-03 19:02:42 +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 4178cbef13 [SAMLv2] change the way content is stored and loaded for the HTTP-Artifact binding
Previously content was stored as the result of lasso_node_dump method
then reloaded, and then serialized again as part of the ArtifactResponse
message. lasso_node_dump was ignoring all hint to sign node, but keeping
the needed parameters around. That's not what must be done, the
signature should happen at the generation of the artifact and the result
must manipulated as is (i.e. XML content) and never moved back to the
land of LassoNode objects.

Now the content is:
- first removed of any signature at the message level, because the
  ArtifactResponse will take care of this, (any signature under this
  level (like at the assertion) is kept),
- serialized using lasso_node_export_to_xml,
- reloaded using lasso_xml_parse_memory,
- and put into the ArtifactResponse using a
  lasso_misc_text_node_new_with_xml_node.
2010-09-03 19:02:42 +02:00
Benjamin Dauvergne edd618319c [SAMLv2] make lasso_saml20_profile_generate_artifact a static function
It is only used in lasso/saml-2.0/profile.c anyway.
2010-09-03 19:02:42 +02:00
Benjamin Dauvergne 90fda9d556 [Core] load signature parameters
Generic signature parameters (attached as qdata to nodes) is now
reloaded when initializing a node from XML for a node type with a
signature snippet in its metadatas.

It fixes the problematic usage of ciphered private keys with the
HTTP-Artifact binding (which needs to keep a copy of the AuthnResponse
around and to sign it later).
2010-09-03 19:02:41 +02:00
Benjamin Dauvergne 5f5942a4dd [Core] add private function to read an integer attribute
This function does integer parsing and range checks, it returns TRUE if
all goes well.
2010-09-03 19:02:41 +02:00
Benjamin Dauvergne c3985f6f6d [Core] add LAST enum values to LassoSignatureMethod and LassoSignatureType enumerations
It helps making range checks.
2010-09-03 19:02:41 +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 8ebeeb9a36 [DOAP] fix typos
Tags were badly formatted.
2010-08-31 11:36:33 +02:00
Benjamin Dauvergne 88236da2d2 [SAMLv2] mark Redirect binding as an invalid binding for return AuthnResponse
This is really not supported by the SAMLv2 protocol.
2010-08-25 19:02:22 +02:00
Benjamin Dauvergne 3769decc58 [SAMLv2] fix string in comment 2010-08-25 19:02:01 +02:00
Benjamin Dauvergne 2ab81b8e6f [SAMLv2] replace use of lasso_provider_get_default_name_id_format with direct use of lasso_provider_get_metadata_one_for_role
The first is trying to use provider->role to know which kind of role
descriptor to lookup, but for the server object this field is 0 and when
building authn request we know that we want our default NameIDFormat for
the SP sso descriptor.
2010-08-25 19:00:36 +02:00
Benjamin Dauvergne 908d4288a0 [SAMLv2] rebuild specialized LassoProvider methods upon new endpoints storage
The new way of storing endpoints allows to keep ordering between
endpoints with respect to the order of the index and isDefault field for
indexed endpoint type, and to the XML node orders for other endpoints.

It also simplifies the code.
2010-08-25 18:57:25 +02:00
Benjamin Dauvergne 5c85507ffd [Core] add destroy code for new private field endpoints
The contained string must be disallocated if the object is destroyed.
2010-08-25 18:55:04 +02:00
Benjamin Dauvergne fb8ed0e264 [Core] add structure to store endpoints type for metadata files
This new C structure will allow to filter ID-FFv1.2 and SAMLv2 endpoints
more easily.
2010-08-25 16:33:58 +02:00
Benjamin Dauvergne 4b05610fa5 [XML] use strtol instead of atoi to parse XSchema integers
This commit also reject negative integers from being parsed (all integers
in SAMLv2 and ID-FFv1.2 schemas are positive integers).
2010-08-25 15:43:09 +02:00
Benjamin Dauvergne fc9c2738c6 [SAMLv2] when AuthnRequest contains invalid attributes returns INVALID_REQUEST not NO_DEFAULT_ENDPOINT
This is the right status to return.
2010-08-25 15:41:55 +02:00
Frédéric Péters 2736139ffe Fixed underlining of title 2010-08-25 14:23:35 +02:00
Benjamin Dauvergne 72e581f8cf [Core] fix change of enumeration value
This change broke the API, revert it.
2010-08-05 14:07:02 +02:00
Benjamin Dauvergne 66f314b191 [Website] update download link on front page 2010-07-27 16:28:16 +02:00
Benjamin Dauvergne b8aa645569 [Website] fix typos 2010-07-27 16:26:27 +02:00
Benjamin Dauvergne 7f6331f73f [Website] fix source and download links
The source repository is now the git repository on dev.entrouvert.org.
Latest source release is 2.3.0. And git browser is included in our
redmine.
2010-07-27 16:20:54 +02:00
Benjamin Dauvergne 1681bc52eb [Website] change position of Download block in right bar 2010-07-27 16:13:41 +02:00
Benjamin Dauvergne 31a26948bf [Website] in convert-to-static.py, work around errors in build logs
If Build() constructor fails, keep going.
2010-07-27 16:13:07 +02:00
Benjamin Dauvergne 274670628f [Website] fix wrong structure for the news file about release 2.3.0 2010-07-27 15:52:49 +02:00
Benjamin Dauvergne 20a1566dd8 [Website] import convert-to-static.py modification from lupin 2010-07-27 15:06:06 +02:00
Benjamin Dauvergne d0be4ae7ad [Website] add news file aboute release 2.3.0 2010-07-27 14:48:52 +02:00
Benjamin Dauvergne 6ba0e84575 [Website] fix non escaped ampersand 2010-07-22 06:02:43 +00:00
Benjamin Dauvergne 5f6c27f7b2 [Release] update libtool version 2010-07-21 20:46:36 +00:00
Benjamin Dauvergne 23421726b8 [Website] update download links 2010-07-21 20:30:55 +00:00
Benjamin Dauvergne e0925a1d78 [Release] Update version number from 2.3 to 2.3.0 2010-07-21 20:30:54 +00:00
Benjamin Dauvergne 3ff6acc268 [Release] update release date in NEWS file 2010-07-21 19:06:30 +00:00
Benjamin Dauvergne 68baeabd53 [Release] update ChangeLog 2010-07-21 18:45:20 +00:00
Benjamin Dauvergne 5ea1d1f1e5 [Release] Lasso 2.3
- update the NEWS file
 - add abi-2.3 file
 - update DOAP files
 - update lasso website template
 - add temporary message to download pages, as there are no download
   links currently.
2010-07-21 17:55:18 +00:00
Benjamin Dauvergne 42d1c18a69 [Core] add logos to EXTRA_DIST 2010-07-21 14:54:59 +00:00
Benjamin Dauvergne ee329487fe [Core] add HACKING to EXTRA_DIST 2010-07-21 14:54:58 +00:00
Benjamin Dauvergne a87ed1af5c [Documentation] add missing declaration to lasso-sections.txt 2010-07-21 14:14:49 +00:00
Benjamin Dauvergne b6b1b63457 [Tests] change the way tests data is distributed
Instead of using a Makefile.am in each data directory, each data
directoy has been added to the EXTRA_DIST for the parent directory
Makefile.am.
2010-07-21 14:14:48 +00:00
Benjamin Dauvergne 05e49cc37e [Core] remove now useless .cvsignore files 2010-07-21 14:12:06 +00:00