summaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
...
* Added module abstractweb.Emmanuel Raviart2004-08-091-0/+156
| | | | | | It defines abstract classes for HTTP servers, etc, that are independant of the connection type: They must be overrided for HTTP(S) connection or simulated connections.
* Added module assertions to Python Lasso simulator.Emmanuel Raviart2004-08-091-0/+126
| | | | | This module defines global functions to use for unit tests (instead of methods self.fail...) or for other applications.
* Added module builtins to Python Lasso simulator. builtins will replaceEmmanuel Raviart2004-08-091-0/+45
| | | | environs in Expression one day.
* Added LECP support in Python simulator and unit tests. I think I have foundEmmanuel Raviart2004-08-076-124/+437
| | | | | | | | | several bugs in Lasso LECP implementation. My biggest problem is that I didn't find a way for IDP to set userAuthenticated, authenticationMethod, reauthenticateOnOrAfter to lecp before (or when) building response envelope with lecp.build_authn_response_envelope_msg(). Did I overlook something?
* new tests; lasso needs some error checkingFrederic Peters2004-08-072-0/+50
|
* Added attributes request, request_type, response, response_type to Lecp inEmmanuel Raviart2004-08-072-3/+26
| | | | Python binding. Close bug #247.
* Added tests for forceAuthn. Light will still be green.Emmanuel Raviart2004-08-062-1/+41
|
* Added Python simulation for isPassive and corrected some simulation bugs.Emmanuel Raviart2004-08-064-33/+109
| | | | Added isPassive tests.
* New Python tests.Emmanuel Raviart2004-08-061-1/+20
|
* Added new Python test. It works, but see bug #245.Emmanuel Raviart2004-08-064-69/+93
|
* Reversed error sign convention for Python binding.Emmanuel Raviart2004-08-061-4/+4
|
* Corrected a bug in test.Emmanuel Raviart2004-08-061-1/+1
|
* Added a new test. If Nico & Valos are not quick enough, the light will be red.Emmanuel Raviart2004-08-061-2/+26
|
* Cleanly separated the new Python Lasso simulator from unit tests.Emmanuel Raviart2004-08-065-877/+645
|
* An early commit of the new Python test. It is not clean yet, but the lightEmmanuel Raviart2004-08-061-518/+902
| | | | will be green again :-)
* Corrected error in Error.Emmanuel Raviart2004-08-061-1/+1
|
* Renamed load_notification_msg to process_notification msg, renamed ↵Nicolas Clapies2004-08-065-31/+27
| | | | process_request to validate_request, added some goto for code error, little update of the code style, updated examples
* fix in lecpNicolas Clapies2004-08-051-4/+4
|
* *** empty log message ***Nicolas Clapies2004-08-051-1/+6
|
* Python binding now raises exceptions instead of returning error codes.Emmanuel Raviart2004-08-042-115/+170
| | | | Close bug #237.
* Slightly improved exception handling in Python.Emmanuel Raviart2004-08-041-59/+200
|
* Python test02 is now completely refactored. But bigger changes are on theEmmanuel Raviart2004-08-041-39/+94
| | | | way.
* update of lecp python bindingNicolas Clapies2004-08-044-92/+80
|
* Moved '#include <lasso/lasso_config.h> into lasso.cValery Febvre2004-08-041-0/+2
| | | | Added also in py_lasso.c
* The Python test refactoring continues and the light is still green.Emmanuel Raviart2004-08-041-43/+103
|
* The Python test reorganization continues. It detects a new login bug, so theEmmanuel Raviart2004-08-041-43/+85
| | | | light will be red again.
* *** empty log message ***Valery Febvre2004-08-041-2/+2
|
* Removed the 'identity' arg in lasso_login_new_from_dump() methodValery Febvre2004-08-042-12/+8
|
* move server param in newNicolas Clapies2004-08-041-13/+10
|
* *** empty log message ***Nicolas Clapies2004-08-041-8/+8
|
* In Python tests, renamed sp to spServer and idp to idpServer.Emmanuel Raviart2004-08-041-47/+47
|
* In Python, Server.add_provider now returns an error code instead of None.Emmanuel Raviart2004-08-042-10/+10
|
* Begin to restructure Python tests.Emmanuel Raviart2004-08-041-54/+66
|
* I thought I had discover one new bug in Lasso SP logout. I was wrong... IEmmanuel Raviart2004-08-031-140/+214
| | | | | | | | | | | | | | discovered one bug and a missing feature: - first the feature request: Lasso should set logout.nameIdentifier in logout.init_request, because there is no way to retrieve the current nameIdentifier from identity_dump or session_dump - and now the bug: After the IDP soapEndpoint returns a SOAP response, the SP process_response_msg doesn't remove the assertion from session (neither does it set session.is_dirty flag). See the new test05 for details.
* Python tests now work again, but please remove the Lasso-CRITICAL below.Emmanuel Raviart2004-08-031-4/+4
| | | | | | | | | | | Generate identity and service provider context dumps ... ok Service provider initiated login ... ok Identity Provider single sign-on when identity and session already exist. ... (process:22065): Lasso-CRITICAL **: 03-08-2004 22:25:48 An assertion existed already for this providerID, it was replaced by the new one. ok Identity Provider logout. ... ok
* *** empty log message ***Nicolas Clapies2004-08-032-3/+3
|
* Bye bye AM_CONDITIONAL rests.Romain Chantereay2004-08-034-8/+0
| | | | (the if WITH_PYTHON are not accurate now).
* initial versionNicolas Clapies2004-08-032-0/+111
|
* replace load_request_msg() with process_request_msg(), process_request() ↵Nicolas Clapies2004-08-033-14/+19
| | | | with validate_request(), remove assertion of the authenticated principal in validate_request()
* add request type test for LecpNicolas Clapies2004-08-031-6/+25
|
* New Autotools infrastructure.Romain Chantereay2004-08-031-2/+0
| | | | | | | | | | | | | | | | | | | | | | Don't hesitate to report bug (if any). Main changes: - No more, or so few AM_CONDITIONAL. - Binding compilation use AC_SUBST top level Makefile SUBDIRS. - Change order of AM Macro. - Added Macro. - Fix Windows Compilation. - New way to handle version number. - Use of lasso_config.h - more ? I do not remember.
* Bug correction in test04.Emmanuel Raviart2004-08-031-1/+1
|
* Added forgotten Lasso call in test04.Emmanuel Raviart2004-08-031-1/+1
|
* Updated Python test04.Emmanuel Raviart2004-08-031-5/+7
| | | | Tell the poor win32 user that he can't test the software
* Added a new Python regression test that shows that logout doesn't setEmmanuel Raviart2004-08-031-0/+116
| | | | session is_dirty flag.
* - Replaced some charPtrConst_wrap() calls by charPtr_wrap()Valery Febvre2004-08-0211-21/+103
| | | | | | - Added GPtrArray_wrap() function to wrap GPtrArray into Python list. - Added session_getattr() function, we can get now providerIDs and is_dirty properties of Session objects.
* Added test03, which shows a bug in Lasso: When identity and session alreadyEmmanuel Raviart2004-08-021-1/+69
| | | | | | | | | | | | | | | | | exist (and must_authenticate() return False), the call to build_artifact_msg generates: (process:8083): GLib-GObject-WARNING **: invalid cast from LassoNode' to LassoSamlNameIdentifier' (process:8083): lasso-CRITICAL **: file authentication_statement.c: line 84 (lasso_authentication_statement_new): assertion LASSO_IS_SAML_NAME_IDENTIFIER(idp_identifier)' failed (process:8083): Lasso-CRITICAL **: 02-08-2004 20:33:59 Failed to build the AuthenticationStatement element of the Assertion. and then access to login.nameIdentifier fails.
* Integrated README.WIN32 into Lasso book.Emmanuel Raviart2004-08-021-17/+0
| | | | Removed obsolete Python INSTALL file.
* Check that Lasso is inited and shotdown only once.Emmanuel Raviart2004-08-029-14/+15
| | | | | | | | | | Lasso Python modules now calls init() at first import (I need this behaviour, because I have several "import lasso" in Expression and I don't know which one will be called first and I don't want to do something like: import lasso if not lasso.inited: lasso.init() ).
* Added a new argument 'err' (GError *) in 5 methods:Valery Febvre2004-08-012-4/+9
| | | | | | | | | | lasso_ds_signature_sign, lasso_node_add_signature, lasso_node_verify_signature, lasso_saml_assertion_set_signature, lasso_samlp_request_abstract_set_signature, lasso_samlp_response_abstract_set_signature for reporting always more errors.