Commit Graph

64 Commits

Author SHA1 Message Date
Emmanuel Raviart 690501c303 Made argument remote_providerID optional for Defederation.initNotification,
in SWIG binding.
2004-09-20 16:20:16 +00:00
Nicolas Clapies adc8c908d9 Added binding for new name registration type 2004-09-20 16:03:40 +00:00
Emmanuel Raviart 21c603e245 Made remote_providerID optional in lasso_lecp_build_authn_request_msg and in
SWIG

Corrected SWIG handling of metadata.

Added attribute providerIds to Session in SWIG.
2004-09-20 15:52:03 +00:00
Nicolas Clapies 7c30af2e90 Added name registration declaration and definition 2004-09-20 14:32:06 +00:00
Emmanuel Raviart ad1e977a2b Added SWIG bindings for metadata, providers and providerIds.
Reworked PHP4 binding for Identity.providerIds => PHP API has changed.
2004-09-18 20:29:49 +00:00
Nicolas Clapies 5ee3977db1 Added binding for LassoNameRegistration C object 2004-09-14 16:00:07 +00:00
Christophe Nowicki a58eaf5925 bind property providerIDs for LassoIdentity
added typemap, convert GPtrArray to PHP indexed string array
2004-09-13 15:55:23 +00:00
Christophe Nowicki ed0ad92133 ZVAL_STRING macro for PHP 2004-09-07 15:09:00 +00:00
Christophe Nowicki 66ff07ce2a SWIGPHP4 is not a defined in the wapper source code, use PHP_VERSION 2004-09-07 12:57:58 +00:00
Romain Chantereay ba26f54ef8 RTM :)
Now good and proper test on swig version.
2004-09-07 11:47:29 +00:00
Romain Chantereay b31f29eab1 For compatibility with SWIG < 1.3.22, test the swig version before using the new
java enum handling way.
2004-09-07 11:35:12 +00:00
Romain Chantereay 3fe2256876 Specificly use original approach java enums binding method.
http://www.swig.org/Release/CHANGES

05/20/2004: wsfulton
            [Java] Java enum support added. There are now 4 ways in which enums
            can be wrapped:

            1) Proper Java enums - use %include "enums.swg"
            2) Typesafe enums - use %include "enumtypesafe.swg"
            3) Type unsafe enums (constant integers) - use %include "enumtypeunsafe.swg"
            4) Simple constant integers (original approach) - use %include %"enumsimple.swg"
2004-09-07 11:27:39 +00:00
Romain Chantereay 878dab9941 No need to define package and version constants, there are already defined in
the lasso_config.h file. This file is included in the generated wrap C source
code.
2004-09-07 08:51:44 +00:00
Emmanuel Raviart e1510ecd97 Corrected Lasso minor version in SWIG binding. 2004-09-07 07:45:39 +00:00
Romain Chantereay 1cadc76b39 Some typo, and variables corrections. 2004-09-06 14:52:32 +00:00
Emmanuel Raviart 34013a6092 Changed Python exceptions generated by SWIG. 2004-09-05 09:13:58 +00:00
Emmanuel Raviart 34afb0cfb6 Corrected a mistake in Java binding. 2004-09-04 18:59:40 +00:00
Emmanuel Raviart 5b925b28df Corrected Java. 2004-09-04 07:49:28 +00:00
Emmanuel Raviart 7fd982f03c Added defines neededfor Java binding. 2004-09-03 22:20:44 +00:00
Nicolas Clapies 1e05cd748c Updated process of artifact : now the IDP generates an artifact either or not the user authentication succeeded. When the SP resends the artifact to the IDP in a samlp:Request, it builds a samlp:Response message with Success status code value. If an assertion is found from artifact, then it adds it to the response. Finally, the IDP responds to the SP with the SOAP message 2004-09-03 16:12:51 +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
Emmanuel Raviart fca6744b46 Corrected Request and Response for Logout and request for Federation
Termination Notification in SWIG.
2004-09-01 10:00:47 +00:00
Emmanuel Raviart e4b4e20151 LassoSession.getAuthenticationMethod argument is now optional. 2004-09-01 08:18:23 +00:00
Emmanuel Raviart 24a9a13529 Corrected request and respond for profiles others than login.
Added relayState attribute to LogoutRequest, but it doesn't work. I believe,
this is a Lasso bug.
2004-08-31 18:36:38 +00:00
Nicolas Clapies de018d1573 Added code error : LASSO_PROFILE_ERROR_MISSING_REQUEST. It indicates that lasso needs a request to process a task. For example, when building a response message 2004-08-31 12:05:04 +00:00
Emmanuel Raviart 688628679a Added Lasso version constants to SWIG. 2004-08-31 10:26:40 +00:00
Emmanuel Raviart e5c29d9105 Removed low-level bindings from SWIG.
In PHP, error constants keep their LASSO_ prefix (because PHP4 doesn't have
the notion of namespaces).
2004-08-30 17:08:04 +00:00
Christophe Nowicki 4a5dd005ac PHP Binding : PHP does not handle namepaces, added lasso_ prefix for
all functions.
2004-08-30 16:32:00 +00:00
Emmanuel Raviart 693e43f548 A few corrections to SWIG binding (a quick commit, so that Christophe can
work on it).
2004-08-30 09:58:08 +00:00
Emmanuel Raviart cd567ad391 SWIG high-level binding now uses camelCase.
Updated SWIG binding to support Java high-level classes.

Simplified java/Makefile.am (but now, it needs to be reworked by an
autotools expert).

ColdFusion simple Java test compiles ok.
2004-08-29 23:57:46 +00:00
Emmanuel Raviart 51adf42fdc When Lasso doesn't recognize the URL query, it now throws a SyntaxError
exception.
2004-08-29 08:31:59 +00:00
Emmanuel Raviart 2ca1008182 SWIG now produces high-level bindings.
(python/Makefile.am needs some cleaning IMHO, but I don't understant it).
2004-08-28 21:37:18 +00:00
Emmanuel Raviart 99629cd6d8 Converted Identity & Session to real objects in SWIG bindings. 2004-08-28 12:35:42 +00:00
Emmanuel Raviart 2311bac626 Hide LibAuthnRequest attributes from SWIG binding. 2004-08-28 12:18:43 +00:00
Emmanuel Raviart d8691794d9 Added preliminary error throwing in SWIG binding.
Replaced simple object methods whith #define.
2004-08-28 12:07:58 +00:00
Emmanuel Raviart c2c31c20d0 Converted SWIG Server into a high-level class with new_from_dump static
method and default value for some arguments.
2004-08-28 07:31:57 +00:00
Emmanuel Raviart 8425480fb7 Transformed LassoAuthnRequest as a true SWIG class with attributes and
methods for all bindings.
2004-08-27 22:32:59 +00:00
Nicolas Clapies a58772ba19 Added code error LASSO_PROFILE_ERROR_INVALID_QUERY, returned when an error occurs while parsing a query message 2004-08-27 14:50:46 +00:00
Emmanuel Raviart 497181fc6a Corrected SWIG binding.
Corrected Python tests.
2004-08-27 14:41:09 +00:00
Emmanuel Raviart 3ed5fa5681 Replaced SWIG specific functions to access "request" and "response"
attributes of profiles, with SWIG read-only attributes.
2004-08-27 13:29:07 +00:00
Emmanuel Raviart 31aa53988b Removed SWIG Lasso.c file.
Added a Python test for defederation (currently it aborts).
2004-08-27 10:56:39 +00:00
Emmanuel Raviart 0c32f3bcbb Added constant lassoHttpMethodAny.
Added error constants to SWIG (and one to Python).
2004-08-26 16:46:38 +00:00
Nicolas Clapies 0f36d58506 Added a param to method lasso_defederation_init_notification(). Now if it is set, lasso can choose a specific defederation protocol profile depending on the http method value of this param 2004-08-26 16:07:56 +00:00
Nicolas Clapies 8404a80deb Oups, missing commit of the new Lasso.i swig file :p 2004-08-26 14:16:47 +00:00
Emmanuel Raviart 3e9cf0bcd3 Moved SWIG constructors and destructors from Lasso.c to Lasso.i. 2004-08-26 10:56:24 +00:00
Emmanuel Raviart f84547e98d Corrected SWIG Defederation binding.
Created Python high-level class for Defederation.
2004-08-24 15:29:56 +00:00
Emmanuel Raviart 56cb3d94f1 Continue to rename FederationTermination into Defederation. 2004-08-24 14:34:37 +00:00
Emmanuel Raviart 8b1cbf4016 Created SWIG bindings for Defederation (new name of FederationTermination). 2004-08-24 13:41:17 +00:00
Valery Febvre 5dc6f94ffd Moved param 'http_method' of lasso_login_build_authn_request_msg() method
in lasso_login_init_authn_request()
BEWARE : this change breaks the API
2004-08-21 17:12:21 +00:00
Frédéric Péters 188b4dfd36 Fixed lasso_server_new parameter type.
When you make change in header files (such as [1]) think about the bindings and
adapt them; thanks.

[1] http://cvs.labs.libre-entreprise.org/cgi-bin/cvsweb.cgi/lasso/lasso/environs/server.c.diff?r1=1.54;r2=1.55;cvsroot=lasso
2004-08-21 10:39:56 +00:00