summaryrefslogtreecommitdiffstats
path: root/bindings/java
Commit message (Collapse)AuthorAgeFilesLines
* Fix build issues on amd64 / gcc 4.3Jerome Schneider2009-04-091-1/+1
| | | | | | | | | * bindings/java/lang.py: fix cast issue * bindings/python/wrapper_top.c fix type issue * lasso/registry.c fix cast issue
* Bindings: fix documentation parsingBenjamin Dauvergne2009-03-271-3/+0
| | | | | | | | * bindings/bindings.py: fix regex to match documentation (remove condition terminating on '**/') print error messages to stderr. * bindings/java/lang.py: remove commented debugging code
* Java: add assertionsBenjamin Dauvergne2009-01-241-1/+2
| | | | | * bindings/java/tests/LoginTest.java: add assertion for the return code of lasso_logout_process_request_msg.
* Fix uninitialized local variableBenjamin Dauvergne2008-11-141-1/+1
| | | | | - bindings/java/wrapper_top.c: (gobject_to_jobject_and_ref) initialize local variable.
* Remove use of xmlFreeDoc for lasso_release_docBenjamin Dauvergne2008-11-041-1/+2
| | | | | | | | | | | | | | - bindings/java/wrapper_top.c, bindings/php4/lasso_php4_helper.c, bindings/php5/wrapper_source_top.c, bindings/python/wrapper_top.c, lasso/id-ff/identity.c, lasso/id-ff/lecp.c, lasso/id-ff/login.c, lasso/id-ff/logout.c, lasso/id-ff/name_registration.c, lasso/id-ff/profile.c, lasso/id-ff/provider.c, lasso/id-ff/server.c, lasso/id-ff/session.c, lasso/id-wsf-2.0/data_service.c, lasso/id-wsf/data_service.c, lasso/id-wsf/discovery.c, lasso/id-wsf/wsf_profile.c, lasso/saml-2.0/ecp.c, lasso/saml-2.0/login.c, lasso/saml-2.0/name_id_management.c, lasso/utils.h, lasso/xml/tools.c, lasso/xml/xml.c, swig/Lasso.i: Remove use of xmlFreeDoc. Use lasso_release_doc instead.
* Clean generated files in bindingsBenjamin Dauvergne2008-11-041-1/+5
| | | | | | | | * bindings/java/Makefile.am: * bindings/php5/Makefile.am: * bindings/python/Makefile.am: - reformat value and add generated files to the MOSTLYCLEANFILES variable
* add functionality to enable debugging flags at runtimeBenjamin Dauvergne2008-10-011-2/+0
| | | | | | | | | | | | | | | | | | | | | | This code permit to set flags, separated by commas, space, tabulations, or colons. This flags activates debug functions like, suppressing validations of signatures or print debugging message about deallocations. The new flags are defined in /lasso/debug.h they can be set using an environment variable named LASSO_FLAG or a function named lasso_set_flag. There are two flags currently: - verify-signature: To deactivate it, pass 'no-verify-signature' inside LASSO_DEBUG. It desactivate signature verification, inside two functions: lasso_query_verify_signature and lasso_provider_verify_signature. - memory-debug: It enabled reporting of memory deallocation inside generic memory dellaocator for LassoNode objects and also in bindings. - lasso/xml/xml.c: do not free a null hash table pointer.
* Many fix to compile with --enable-wsf and --enable-debugging and also toBenjamin Dauvergne2008-09-231-15/+21
| | | | | | | | | | | | | | | | | | remove valgrind errors through python tests. 1. Rename lasso_wsf_profile_new_full for java bindings (cannot subclass in overrides of static methods). 2. Add const modifiers to many functon signatures in bindings/python/wrapper_top.c. 3. add initialisation of private_data->encryption_sym_key_type (to please valgrind) in instance_init of LassoProvider. 4. Add new macro to assign xmlNode, we consider xmlNode to be an immutable value, and always use xmlCopyNode for assignment. The macros is called named lasso_assign_node. 5. Fix segfault, when using xmlSec to encrypt the newly created encrypted node replace the original node inside the xmlDoc structure, and the original node is freed automatically. So you cannot borrow the encrypted if you do not remove it from xmlDoc first.
* * Remove ending blanksBenjamin Dauvergne2008-09-122-32/+32
|
* * When --enable-debugging is used, add -Wno-xxx options to AM_CFLAGS so thatBenjamin Dauvergne2008-09-121-3/+5
| | | | bindings compile with -Werror (-Werror is activated by --enable-debugging now)
* Add bindings/javaj/__init__.py to EXTRA_DISTBenjamin Dauvergne2008-08-051-0/+1
|
* * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and ↵Benjamin Dauvergne2008-08-051-9/+9
| | | | formatting
* * fix typo with g_hash_table_remove_allBenjamin Dauvergne2008-08-051-42/+43
| | | | | * remove unused variable * add GNUC_UNUSED to static functions to pass -Werror
* add an __init__.py to make the java subdirectory a python moduleBenjamin Dauvergne2008-08-051-0/+0
|
* use new util function to throw exceptionsBenjamin Dauvergne2008-08-052-5/+18
|
* add moved files to EXTRA_DISTBenjamin Dauvergne2008-08-051-1/+4
|
* Move all files related to java into the java subdirectoryBenjamin Dauvergne2008-08-054-1/+1686
|
* add Makefile.in to MAINTAINERCLEANFILES in every Makefile.amBenjamin Dauvergne2008-05-271-0/+1
|
* fix INCLUDES var, put top_builddir firstBenjamin Dauvergne2008-05-261-1/+2
|
* [project @ fpeters@0d.be-20080423145930-yekpmusph6oob90d]Frederic Peters2008-04-291-0/+6
| | | | | | | | merge Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-23 16:59:30.377000+02:00
* [project @ fpeters@0d.be-20080326094754-cw66nuog62q06ekk]Frederic Peters2008-04-291-1/+1
| | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-26 10:47:54.384000+01:00
* [project @ fpeters@0d.be-20080325172346-eitu3onvzps4b30z]Frederic Peters2008-04-291-3/+7
| | | | | | | | merging benjamin stuff and adding --enable-id-wsf when id-wsf is asked Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-25 18:23:46.535000+01:00
* [project @ fpeters@0d.be-20080314231256-hjz1wljuqrcbuce3]Frederic Peters2008-04-294-45/+49
| | | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-15 00:12:56.228000+01:00
* [project @ fpeters@0d.be-20080310093300-2iv41ihnuify54po]Frederic Peters2008-04-293-25/+26
| | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-10 10:33:00.592000+01:00
* [project @ fpeters@0d.be-20080309152828-pw4gd3lcm7rb7dxd]Frederic Peters2008-04-294-31/+24
| | | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-09 16:28:28.854000+01:00
* [project @ fpeters@0d.be-20080228084331-nnw52qii4xdmz36k]Frederic Peters2008-04-291-1/+4
| | | | | | | ship files required for tests/ Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-28 09:43:31.229000+01:00
* [project @ fpeters@0d.be-20080225121334-yi07nl8kefuefhk9]Frederic Peters2008-04-293-4/+4
| | | | | | | benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-25 13:13:34.475000+01:00
* [project @ fpeters@0d.be-20080222093656-l6a09ccadxdz9qrs]Frederic Peters2008-04-295-114/+155
| | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-22 10:36:56.421000+01:00
* [project @ fpeters@0d.be-20080218085519-h4hpx5u9ezvupvbc]Frederic Peters2008-04-291-1/+1
| | | | | | | | com_entrouvert_lasso_LassoJNI.h is built Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-18 09:55:19.662000+01:00
* [project @ fpeters@0d.be-20080217154439-uws87jdru8j3izkj]Frederic Peters2008-04-291-2/+7
| | | | | | | | distribute GObject.java and LassoException_top.java, and fixed distcheck Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-17 16:44:39.322000+01:00
* [project @ fpeters@0d.be-20080217115557-8qtcrc1vzb75f75c]Frederic Peters2008-04-297-0/+631
merged Benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-17 12:55:57.088000+01:00