summaryrefslogtreecommitdiffstats
path: root/python/tests/login_tests.py
Commit message (Collapse)AuthorAgeFilesLines
* Renamed login_tests.py to profiles_tests.py.Emmanuel Raviart2004-08-281-138/+0
| | | | Added Server tests (=> discovered bug #265).
* Transformed LassoAuthnRequest as a true SWIG class with attributes andEmmanuel Raviart2004-08-271-2/+2
| | | | methods for all bindings.
* Corrected SWIG binding.Emmanuel Raviart2004-08-271-2/+19
| | | | Corrected Python tests.
* Removed SWIG Lasso.c file.Emmanuel Raviart2004-08-271-1/+26
| | | | Added a Python test for defederation (currently it aborts).
* Added a --source-dir option to tests.Emmanuel Raviart2004-08-251-14/+21
|
* Removed obsolete Python test framework.Emmanuel Raviart2004-08-251-230/+27
|
* Updated "Writing a SP" doc & PHP binding to Lasso API change.Emmanuel Raviart2004-08-211-1/+1
|
* Updated Python high-level binding and tests.Emmanuel Raviart2004-08-201-6/+3
| | | | May all the lights be green!
* Added logout to sample Liberty proxy, but it fails because of Lasso bug #259.Emmanuel Raviart2004-08-141-10/+10
|
* Added metadata corresponding to new certificates.Emmanuel Raviart2004-08-121-22/+21
| | | | Updated non regression tests to use these certificates and metadata.
* Create a new test Proxy server (a server between a SP and an IDP, which actsEmmanuel Raviart2004-08-111-0/+19
| | | | as an IDP for the SP and as a SP for the IDP): login works.
* Removed server public key in tests: it seems that it is no more used.Emmanuel Raviart2004-08-111-2/+2
|
* In python/tests, there are now a sample IDP (sample-idp.py) and a sample SPEmmanuel Raviart2004-08-111-3/+1
| | | | (sample-sp.py). The two applications are real servers.
* Improved Python unit tests.Emmanuel Raviart2004-08-101-10/+10
|
* Renamed LEC to LECP. It is really a proxy.Emmanuel Raviart2004-08-091-11/+11
|
* LECP now nearly works. Still a segmentation fault at the end, but Valos isEmmanuel Raviart2004-08-091-3/+13
| | | | aware of it.
* Updated Python tests. Not finished but Valos want it to debug Lasso.Emmanuel Raviart2004-08-091-62/+42
|
* Updated Python unit tests infrastructure, so that it can be reused forEmmanuel Raviart2004-08-091-37/+44
| | | | independant simulation applications.
* Added LECP support in Python simulator and unit tests. I think I have foundEmmanuel Raviart2004-08-071-29/+54
| | | | | | | | | 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?
* Added tests for forceAuthn. Light will still be green.Emmanuel Raviart2004-08-061-0/+35
|
* Added Python simulation for isPassive and corrected some simulation bugs.Emmanuel Raviart2004-08-061-2/+34
| | | | 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-061-34/+49
|
* 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-061-877/+14
|
* 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 :-)
* Python binding now raises exceptions instead of returning error codes.Emmanuel Raviart2004-08-041-59/+28
| | | | Close bug #237.
* Python test02 is now completely refactored. But bigger changes are on theEmmanuel Raviart2004-08-041-39/+94
| | | | way.
* 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.
* In Python tests, renamed sp to spServer and idp to idpServer.Emmanuel Raviart2004-08-041-47/+47
|
* 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
* 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.
* 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.
* Check that Lasso is inited and shotdown only once.Emmanuel Raviart2004-08-021-1/+0
| | | | | | | | | | 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() ).
* Updated Java binding and unit test.Emmanuel Raviart2004-07-311-2/+2
|
* Python login_tests now works again, although there remains a lasso-CRITICALEmmanuel Raviart2004-07-311-0/+6
| | | | | | | | 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
* Some update to python login_tests. Some bugs remain.Emmanuel Raviart2004-07-301-3/+7
|
* Removed last profile_context or profileContext.Emmanuel Raviart2004-07-301-18/+18
|
* Removed obsolete logout method load_from_dump.Emmanuel Raviart2004-07-261-5/+4
| | | | | | | | Upgraded some residual calls to login_new & logout_new. Updated Java binding. Java unit test works (and C too, but Python still doesn't).
* Java unit test is again similar to Python.Emmanuel Raviart2004-07-251-0/+1
| | | | | | Corrected Java binding to pass the unit test both with Kaffe and Sun JRE. Added a small new test in Python unit test.
* s/&/and/Frederic Peters2004-07-251-1/+1
|
* Adapted logout unit test to new API.Emmanuel Raviart2004-07-251-2/+3
|
* fixed args order (but not enough to get the test to pass)Frederic Peters2004-07-251-2/+2
|
* login_tests.py can be executed without tests.pyFrederic Peters2004-07-251-1/+6
|