summaryrefslogtreecommitdiffstats
path: root/bindings
Commit message (Collapse)AuthorAgeFilesLines
* new function lasso_profile_get_server()Benjamin Dauvergne2009-04-271-0/+1
| | | | | | | | | | * lasso/id-ff/profile.c: * lasso/id-ff/profile.h: in a move to try to remove direct access to object content, add a function to retrieve the LassoServer object of a LassoProfile. * bindings/overrides.xml: it conflicts with direct access to the public field server, so we do not export it in the binding for now.
* Fix python 2.4 binding buildJerome Schneider2009-04-171-0/+6
|
* Fix build issues on amd64 / gcc 4.3Jerome Schneider2009-04-092-2/+2
| | | | | | | | | * bindings/java/lang.py: fix cast issue * bindings/python/wrapper_top.c fix type issue * lasso/registry.c fix cast issue
* Bindings: skip DEPRECATED variablesBenjamin Dauvergne2009-03-271-0/+2
| | | | | * bindings/bindings.py: when parsing headers, skipped deprecated struct fields.
* ID-WSF 2.0: make it work with --enabe-debuggingBenjamin Dauvergne2009-03-271-6/+0
| | | | | | | | | | | | | * lasso/id-wsf-2.0/data_service.c: * lasso/id-wsf-2.0/discovery.c: * lasso/id-wsf-2.0/profile.c: * lasso/id-wsf/data_service.c: * lasso/id-wsf/discovery.c: * lasso/id-wsf/wsf_profile.c: when --enable-debugging is activated much more type checking is done by internal macros, and code do not pass compile anymore. * bindings/python/tests/idwsf2_tests.py: nameIdentifier packing in SOAP ID-WSF calls headers is no longer supported, do not test it.
* SAML 2.0: API for Saml2EncryptedElement decryptBenjamin Dauvergne2009-03-271-0/+1
| | | | | | | | | | | | | | | | * lasso/xml/xml_enc.h: remove old functions * lasso/xml/private.h: remove lasso_node_(de/en)crypt from public headers API, they were not exported anyway. move them to internal header. * lasso/xml/saml-2.0/saml2_encrypted_element.{c,h}: add a new decrypt function to convert a EncryptedElement to the contained encrypted node objects. * bindings/overrrides.xml: do not export the new method, wait for implementation of output arguments. * lasso/id-ff/server.c: remove lasso_decrypt_nameid from lasso/id-ff/server.c
* Bindings php5: add support for xmlNode argumentsBenjamin Dauvergne2009-03-272-3/+15
| | | | | | | | * bindings/php5/php_code.py: * bindings/php5/wrapper_source.py: complete error reporting about on documentation treatment. treat xmlNode* arguments (convert string to xmlNode, give as argument, then frees it).
* Bindings: fix documentation parsingBenjamin Dauvergne2009-03-272-5/+2
| | | | | | | | * 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
* fixed parsing of OFTYPEDamien Laniel2009-02-051-1/+1
|
* 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.
* All: Fix missing field initializer problemsBenjamin Dauvergne2009-01-242-4/+6
| | | | | | * lots of files: Explicitely set all field of initialized structures, in order to remove -Wno-missing-field-initilizers from needed compiler options when using -Wall -Wextra.
* 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-044-4/+8
| | | | | | | | | | | | | | - 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-043-1/+7
| | | | | | | | * 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-013-10/+7
| | | | | | | | | | | | | | | | | | | | | | 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-232-15/+22
| | | | | | | | | | | | | | | | | | 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.
* php: added a root class to define generic getter and setterDamien Laniel2008-09-171-23/+26
|
* * Remove ending blanksBenjamin Dauvergne2008-09-1220-120/+120
|
* * When --enable-debugging is used, add -Wno-xxx options to AM_CFLAGS so thatBenjamin Dauvergne2008-09-123-8/+10
| | | | bindings compile with -Werror (-Werror is activated by --enable-debugging now)
* * Add G_GNUC_UNUSED for unused parameter we can't remove (python wrappers).Benjamin Dauvergne2008-09-122-4/+4
|
* * Select bindings in bindings/Makefile not in bindings/*/Makefile.Benjamin Dauvergne2008-09-121-1/+10
|
* don't put registry functions in the bindingsDamien Laniel2008-09-031-0/+3
|
* Add bindings/javaj/__init__.py to EXTRA_DISTBenjamin Dauvergne2008-08-051-0/+1
|
* Lookup wrapper_{top,bottom}.c files in the src_dir, useful for VPATH buildBenjamin Dauvergne2008-08-052-2/+5
| | | | (i.e. distcheck). Add top_srcdir/binings to python syspath.
* * Fix blanks mismatch (space in *.c and *h files or tabs in *.py files) and ↵Benjamin Dauvergne2008-08-055-14/+15
| | | | 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
|
* add moved files to EXTRA_DISTBenjamin Dauvergne2008-08-051-0/+2
|
* change dependency with respect to moved files, add moved files to EXTRA_DISTBenjamin Dauvergne2008-08-051-2/+3
|
* use new util function to throw exceptionsBenjamin Dauvergne2008-08-052-5/+18
|
* add moved files to EXTRA_DISTBenjamin Dauvergne2008-08-051-1/+4
|
* add TODOs for parsing OFTYPE in other positionsBenjamin Dauvergne2008-08-051-0/+2
|
* Remove moved files from EXTRA_DISTBenjamin Dauvergne2008-08-051-12/+0
|
* Move all files related to java into the java subdirectoryBenjamin Dauvergne2008-08-054-9/+10
|
* Add a module init file to python directory.Benjamin Dauvergne2008-08-051-0/+0
|
* Move all files related to the php5 binding insideBenjamin Dauvergne2008-08-056-7/+6
| | | | the php5 subdirectory.
* Move all python binding related files inside the python subdirectoryBenjamin Dauvergne2008-08-055-23/+32
|
* * bindings/python/tests/Makefile.am: make running of iwsf{1,2}_tests.py ↵Benjamin Dauvergne2008-08-051-2/+6
| | | | conditioned upon --enable-wsf flag of ./configure script
* remove useless overridingBenjamin Dauvergne2008-08-011-1/+0
|
* * bindings/lang_python_wrapper_top.c: add cast to suppress warning aboutBenjamin Dauvergne2008-08-011-4/+23
| | | | | g_list_length argument non-constness. add support for LassoDgme* objects, must find a better way to do this in the future.
* * bindings/bindings.py: support const modifier on this argumentBenjamin Dauvergne2008-08-013-3/+4
|
* add const modifier to conversion function on GList*, a problem still remains ↵Benjamin Dauvergne2008-08-011-6/+6
| | | | that g_list_length do not take a const GList*
* reflects change inside lasso/id-ff/identity.c in assertionsBenjamin Dauvergne2008-08-011-4/+6
|
* forked lasso branch for adelineBenjamin Dauvergne2008-08-013-2/+5
|
* provider_id is optional in lasso_session_get_assertionsFrederic Peters2008-05-291-1/+3
|
* fixed functions returning const GList *Damien Laniel2008-05-281-1/+1
|
* recognize const GList*Benjamin Dauvergne2008-05-281-1/+1
|
* return of lasso_server_get_svc_metadatas so return_owner = FalseBenjamin Dauvergne2008-05-281-1/+1
|
* boolean in C are uppercaseFrederic Peters2008-05-281-1/+5
|
* add Makefile.in to MAINTAINERCLEANFILES in every Makefile.amBenjamin Dauvergne2008-05-278-0/+8
|