Commit Graph

5552 Commits

Author SHA1 Message Date
Benjamin Dauvergne cc6ab97ecf add jenkins.sh script 2013-09-26 15:40:16 +02:00
Benjamin Dauvergne 566e29b3f8 saml2/profile.c: add resolving of the endpoint index in artifacts
* lasso/saml-2.0/profile.c: add new argument role to lasso_saml20_profile_init_artifact_resolve()
   for looking up ArtifactResolutionService location; extract endpoint index
   from artifact and use it to resolve the endpoint location.
 * login.c: pass new argument ; force msg_url as it is preinitialized by
   lasso_saml20_profile_init_artifact_resolve()
2013-09-08 23:53:33 +02:00
Benjamin Dauvergne cfdd3daf20 saml2/provider.c: add new function lasso_saml20_provider_get_endpoint_url() for retrieving endpoint locations using the new endpoints list 2013-09-08 23:39:33 +02:00
Benjamin Dauvergne 3dc786380a errors.{c,h}: add new error LASSO_PROFILE_ERROR_ENDPOINT_INDEX_NOT_FOUND for reporting when a recevied artifact does match any declared endpoint 2013-09-08 23:38:33 +02:00
Benjamin Dauvergne 4799770a0d saml2/profile: fix missing ArtifactResolutionService index in artifacts 2013-09-08 21:34:12 +02:00
Benjamin Dauvergne bb84a8d188 tests: add non-regression test to check that we correctly provide the ArtifactResolutionService index in artifacts 2013-09-08 21:34:12 +02:00
Benjamin Dauvergne 9adc9bfaad saml2/login: fix role of providers in process_authn_request() and idp_initiated_authn_request()
It is necessary for endpoint resolution to know the role of providers.
2013-09-08 21:34:12 +02:00
Benjamin Dauvergne 53f6f5c5ef tests: in check_equals() and check_not_equals() macros use long long int as a catchall type for printing compared values 2013-09-08 21:34:12 +02:00
Benjamin Dauvergne 05a01a8247 fix compilation errors on 64bits architectures
* sizeof(unsigned int) != sizeof(size_t)
 * INT_MAX != LONG_MAX
2013-09-08 21:33:58 +02:00
Benjamin Dauvergne b6faccae0f fix warnings about unused but set variables 2013-09-08 21:31:52 +02:00
Benjamin Dauvergne 72e1558b21 Revert "doc: fix EXTRA_DIST definition in reference/lasso/Makefile.am"
This reverts commit a223afc607.
It seems to be incompatible with recent version of gtk-doc, I need to
investigate more this problem.
2013-08-27 01:08:48 +02:00
Benjamin Dauvergne a223afc607 doc: fix EXTRA_DIST definition in reference/lasso/Makefile.am 2013-08-27 00:06:20 +02:00
Benjamin Dauvergne f48cd5bbcf Merge remote-tracking branch 'origin/libxml2.9-compat' 2013-07-30 15:31:26 +02:00
Frédéric Péters 6af73738f6 website: fix commercial licencee page location 2013-07-20 09:46:34 +02:00
Tim Newsome 479eba57de AM_C_PROTOTYPES is no longer supported in autoconf 1.12. 2013-06-19 01:42:17 +02:00
Tim Newsome e8d5b21637 Add support for automake 1.12. 2013-06-19 01:42:11 +02:00
Benjamin Dauvergne d572326a2f configure.ac: do not passe the full version suffix as the release number 2013-06-04 23:01:35 +02:00
Benjamin Dauvergne d1c7f82a64 FAQ.rst: start a FAQ file 2013-06-04 22:14:41 +02:00
Benjamin Dauvergne 57435048a0 configure: generate version number from git revision between tagged release
The script git-version-gen is copied from the autoconf project.
2013-05-15 11:28:25 +02:00
Benjamin Dauvergne aa43398da6 python: fix logout request parsing test
adapt to new checks done on logout request nodes
2013-03-20 21:14:36 +01:00
Benjamin Dauvergne d06f6c698a tests: comment out dump/restore checks against complex nodes 2013-03-20 20:07:49 +01:00
Benjamin Dauvergne b929bd4034 saml-2.0: fix missing signature on logout responses 2013-03-20 20:03:48 +01:00
Benjamin Dauvergne 1b653d7b27 pkgconfig: do not leak lasso dependencies to users
Change Require into Require.private

Thanks to Thijs Kinkhorst and Olav Morken for the suggestion.
2013-03-07 13:52:03 +01:00
Benjamin Dauvergne 7994846dfa xml-saml-2.0: ManageNameIDRequest must have a NameID 2013-01-25 18:30:55 +01:00
Benjamin Dauvergne 0f3093dc56 xml-saml-2.0: LogoutRequest must have a NameID 2013-01-25 18:30:55 +01:00
Benjamin Dauvergne 8e98e432ff xml: really enforce elements cardinality when parsing messages
- add a new SNIPPET_MANDATORY:
	 we could only indicate 0-1 and 0-* cardinalities, now we can also
	 indicate 1-1 and 1-* cardinalities.
 - repect cadinalities when parsing an xmlNode tree into a LassoNode
	 tree.
2013-01-25 18:30:55 +01:00
Benjamin Dauvergne 2663c5df95 xml-saml-2.0: add missing namespace declaration for the KeyInfoSujectConfirmationData sub-type 2013-01-25 18:30:55 +01:00
Benjamin Dauvergne 3b812d8d69 fix memory leak in lasso_node_impl_init_from_xml: release the class_list 2013-01-25 18:30:38 +01:00
Benjamin Dauvergne be5bcfbb59 utils: add a lasso_release_slist macro 2013-01-25 18:30:38 +01:00
Benjamin Dauvergne a3fb13e36b add a lasso_release_slist 2013-01-25 18:30:18 +01:00
Benjamin Dauvergne 5d8d8e8441 fix potential segfault in lasso_node_impl_init_from_xml 2013-01-25 18:29:40 +01:00
Benjamin Dauvergne 1ebcc767a9 Fix distcheck build problem in docs/Makefile.am
Bug introduced in commit e97a36fa
2013-01-25 18:29:34 +01:00
Benjamin Dauvergne 267f91a5ca fix warning in docs/reference/lasso/Makefile.am 2013-01-25 18:29:27 +01:00
Benjamin Dauvergne bd0f935a24 Rewrite all xmlNode serialization code to be compatible with libxml 2.9.0
Libxml stopped exposing the internal of the xmlOutputBuffer structure;
it was replace by proper use of the API and of the xmlBuffer structure.

There could be regression for older version of libxml as some functions
appeared in recent version of libxml; but the reference API document
does not give any introduction date for functions so it's hard to be
sure.
2012-09-28 22:58:24 +02:00
Benjamin Dauvergne e94015f8bc fix segfault in saml-2.0/provider.c:load_endpoint_type2
Thanks to Hiromitsu Fujita for the patch. fixes #1582.
2012-09-26 21:01:15 +02:00
Benjamin Dauvergne 050afd2246 tests: add a SSO test with DSA keys to python bindings tests 2012-07-11 10:57:40 +02:00
Benjamin Dauvergne f8ea3cda2d Fix compilation on solaris
Thanks Wojciech Lichota for the patch.

Fixes #1516
2012-06-21 16:07:07 +02:00
Benjamin Dauvergne fe5b4da0cf fix SIGSEGV when loading metadata files
Thanks Wojciech Lichota for the patch.

Fixes #1516
2012-06-21 16:06:13 +02:00
Benjamin Dauvergne a8e571b4dd [bindings/php5] remove redundant check to is_transfer_full 2012-05-05 23:22:34 +02:00
Benjamin Dauvergne b7958a2e31 [bindings/php5] add missing release for xmlnodes in return value wrapper 2012-05-05 23:21:56 +02:00
Benjamin Dauvergne 7e9fffe2b9 [abi] update for release 2.4.0 2012-05-05 23:18:50 +02:00
Benjamin Dauvergne e6d9048004 [bindings/python] in constructors wrappers build the return value before 2012-05-05 23:18:32 +02:00
Benjamin Dauvergne 1473b92b86 [bindings/python] free xmlnode argument owned by the callee 2012-05-05 23:00:05 +02:00
Benjamin Dauvergne f4fb55bd89 [bindings/python] fix some indentation 2012-05-05 22:58:26 +02:00
Benjamin Dauvergne df3656df4d [bindings/python] boolean values does not need to be released 2012-05-05 22:58:09 +02:00
Benjamin Dauvergne ec23b23455 [bindings] add a default parameter to is_transfer_full whose default is False 2012-05-05 22:55:57 +02:00
Benjamin Dauvergne b35fc7fffb [bindings] improve matching for object types 2012-05-05 22:55:20 +02:00
Benjamin Dauvergne e8e91cbd07 [xml] fix wrong forward declaration 2012-05-05 22:52:15 +02:00
Benjamin Dauvergne 8740ef5057 [xml] add missing include 2012-05-05 22:51:52 +02:00
Benjamin Dauvergne 73a8c1faad [xml] fix typos 2012-05-05 22:51:43 +02:00