Commit Graph

369 Commits

Author SHA1 Message Date
Frédéric Péters db8d9f930f please use spaces between variable names and values 2004-09-08 15:50:02 +00:00
Romain Chantereay ce352716fd Add windows linker --add-stdcall-alias in order to permit failsafe use of DLLs. 2004-09-07 17:07:59 +00:00
Romain Chantereay a187ddc0d8 Firsts fixes in order to compile Python binding under Darwin. 2004-09-07 14:51:23 +00:00
Emmanuel Raviart 34013a6092 Changed Python exceptions generated by SWIG. 2004-09-05 09:13:58 +00:00
Frédéric Péters 3038de92ed things were overcomplicated; simplify a bit (for example the DEPDIR dirty
things was necessary because variables were overused; ask me for details if you
want)
2004-09-02 17:47:59 +00:00
Nicolas Clapies eb9391ec2d *** empty log message *** 2004-09-01 16:35:42 +00:00
Emmanuel Raviart 116de01889 Added a new Python logout test: Make the same Logout.newFromDump enough
times => segfault.
2004-08-31 21:08:37 +00:00
Emmanuel Raviart 5b2ded27ab Testing logout.processResponseMsg with a really bad URL. => red alert. 2004-08-31 10:20:11 +00:00
Emmanuel Raviart 6710fec968 New logout test => Red alert! 2004-08-30 19:51:51 +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
Frédéric Péters 553076b8ff some tests do not have descriptions 2004-08-29 09:31:54 +00:00
Frédéric Péters 95779ca72a corretly escape xml 2004-08-29 09:29:36 +00:00
Emmanuel Raviart a418f7ee02 Removed obsolete Python doc. 2004-08-29 09:04:53 +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 b27283f775 Removed references to lassomod in .cvsignore. 2004-08-28 21:40:31 +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
Frédéric Péters 743f91ffc4 xml encoding of special characters (&, <, >) 2004-08-28 20:13:15 +00:00
Emmanuel Raviart 99629cd6d8 Converted Identity & Session to real objects in SWIG bindings. 2004-08-28 12:35:42 +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 e7e4d55ce5 Renamed login_tests.py to profiles_tests.py.
Added Server tests (=> discovered bug #265).
2004-08-28 07:25:23 +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
Emmanuel Raviart 27d4828941 Added method Logout.reset_session_index in Python high-level binding. 2004-08-27 16:29:55 +00:00
Emmanuel Raviart 8a333c6721 Added support for "invalid query" errors in Python high-level binding. 2004-08-27 15:23:54 +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 f642e8bfbc Forgot to declare a parameter as optionnal. 2004-08-26 19:14:25 +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
Emmanuel Raviart 09f7afd990 Added a --source-dir option to tests. 2004-08-25 10:57:45 +00:00
Emmanuel Raviart 9d460cf67c Removed obsolete Python test framework. 2004-08-25 10:12:13 +00:00
Emmanuel Raviart f84547e98d Corrected SWIG Defederation binding.
Created Python high-level class for Defederation.
2004-08-24 15:29:56 +00:00
Romain Chantereay 0b33fe9a2d Cleaned a little the automake files.
Proper use of $(top_srcdir).

Proper use of $DEPDIR.

Added $(top_srcdir)/swig/Lasso.c to java shared object compilation.
2004-08-23 17:16:17 +00:00
Emmanuel Raviart 45590d2687 Updated "Writing a SP" doc & PHP binding to Lasso API change. 2004-08-21 17:38:59 +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 17c78aa7df I prefer it that way 2004-08-21 10:10:18 +00:00
Frédéric Péters 3446f1672f reenabled tests since the swig binding is ok now 2004-08-21 08:48:44 +00:00
Emmanuel Raviart 90f1e1f493 Added new argument to lasso_login_build_authn_request_msg. 2004-08-20 17:43:07 +00:00
Emmanuel Raviart 460a7adda9 In Python high-level binding, constants are now defined using 2 forms: as a
global variable and as a dict item. For example:
libNameIDPolicyTypeFederated and libNameIDPolicyTypes['federated'].
2004-08-20 14:47:40 +00:00
Romain Chantereay f333b5dabf Removed an useless inclusion directory. 2004-08-20 11:50:08 +00:00
Emmanuel Raviart 7b27896a47 Corrections in Python high-level binding:
- Added missing self in previous commit.

- Server default constructor allows again to give no arguments.
2004-08-20 11:31:58 +00:00
Emmanuel Raviart 16370a4eb4 I have always wanted that Python bindings for GTK, libXML, etc, allow the
user to override the classes they define. So I did it for Lasso Python
high-level bindings.
2004-08-20 11:24:02 +00:00
Emmanuel Raviart f190463317 Added method get_authentication_method to session in high-level Python
binding.
2004-08-20 09:37:47 +00:00
Frédéric Péters ffa64315e9 install lasso.py (and cleaned a bit the Makefile.am) 2004-08-20 09:31:07 +00:00
Frédéric Péters 77474f9e88 fixed includes 2004-08-20 07:58:29 +00:00
Emmanuel Raviart fd07ba3c83 Updated .cvsignore. 2004-08-20 00:39:08 +00:00
Emmanuel Raviart 7db97fec73 Removed old Python binding. 2004-08-20 00:37:48 +00:00
Emmanuel Raviart c4344d4b1b Updated Python high-level binding and tests.
May all the lights be green!
2004-08-20 00:13:35 +00:00
Emmanuel Raviart 74509f54eb Created a high-level API above SWIG Python API.
Removed a trailing "s" from an enum.
2004-08-19 22:36:50 +00:00
Frédéric Péters 9ffb628da4 the quest for a working make distcheck; part 1: srcdir is not always builddir. 2004-08-19 20:03:24 +00:00
Emmanuel Raviart 1bc17f9540 Deeply reworked SWIG bindings for the Lasso objects we currently use.
Note: Python high-level bindings are not yet updated to use these SWIG
      bindings.
2004-08-19 18:16:14 +00:00