summaryrefslogtreecommitdiffstats
path: root/python
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Added a new argument 'err' in 4 methods of the LassoNode class:Valery Febvre2004-07-311-2/+4
| | | | | | | | lasso_node_get_attr lasso_node_get_child lasso_node_get_child_content lasso_node_get_content for reporting errors.
* Updated Java binding and unit test.Emmanuel Raviart2004-07-311-2/+2
|
* Removed access to attributes identity & session by __getattr__Valery Febvre2004-07-313-21/+5
|
* Python login_tests now works again, although there remains a lasso-CRITICALEmmanuel Raviart2004-07-314-18/+30
| | | | | | | | caused by idpLoginContext.get_identity() (file login_tests.py, line 120): (process:5228): lasso-CRITICAL **: file xml.c: line 64 (lasso_node_copy): assertion LASSO_IS_NODE(node)' failed ERROR
* *** empty log message ***Valery Febvre2004-07-311-7/+16
|
* Some update to python login_tests. Some bugs remain.Emmanuel Raviart2004-07-301-3/+7
|
* Removed last profile_context or profileContext.Emmanuel Raviart2004-07-302-20/+20
|
* *** empty log message ***Nicolas Clapies2004-07-304-38/+100
|
* Update endValery Febvre2004-07-306-1/+177
|
* *** empty log message ***Valery Febvre2004-07-302-231/+0
|
* UpdateValery Febvre2004-07-3013-208/+330
|
* Renamed ProfileContext into ProfileValery Febvre2004-07-302-30/+30
|
* Initial commitValery Febvre2004-07-302-0/+233
|
* Update beginingValery Febvre2004-07-308-48/+46
|
* *** empty log message ***Nicolas Clapies2004-07-291-0/+4
|
* update of register name identifierNicolas Clapies2004-07-297-184/+68
|