summaryrefslogtreecommitdiffstats
path: root/bindings/overrides.xml
Commit message (Collapse)AuthorAgeFilesLines
* [core] add a new class LassoKeyBenjamin Dauvergne2011-12-051-0/+1
| | | | | | LassoKey currenly store a LassoSignatureContext inside a reference-counted and bindable object. It will be used to export API around key management to bindings.
* [core] rename lasso_server_load_federation to lasso_server_load_metadataBenjamin Dauvergne2011-04-041-1/+1
| | | | | | | The aim of this function is now to load any metadata file, and to replace completely the use of lasso_server_add_provider. The metadata content argument is replaced by a metadata file path to more closely match other APIs.
* [core] add a loaded_entity_ids output parameter to lasso_server_load_federationBenjamin Dauvergne2011-03-301-0/+1
| | | | | It allows to know which entity has been loaded from the metadata file. It must be freed by the caller.
* Add new lasso_log_set_handler and lasso_log_remove_handler functionsFrederic Peters2010-06-091-0/+2
| | | | | They are modeled around the g_log... functions of GLib, they just don't have a domain parameter.
* Bindings: re-add binding for lasso_session_get_assertions for perl, special ↵Benjamin Dauvergne2010-02-011-1/+0
| | | | | | | | case formatting function for WsAddressing namespace * bindings/utils.py: type have LassoWsAddr prefix but function have the lasso_wsa_ prefix, so we have to adjust generated prefix.
* Bindings: better parse oftype annotation for hashtable, allow to skip structuresBenjamin Dauvergne2010-01-281-8/+23
| | | | | | | | | | | | * bindings/bindings.py: add possibility to skip generating bindings for structures to overrides.xml. parse element-type annotation /* of XXX */ for hashtable objects. output to stderr warning about skipped objects. parse idwsf_strings.h * bindings/overrides.xml: skip more ID-WSF 1.0 functions in java and perl. skip structure LassoAuthentication.
* Bindings: add a new perl binding using the new binding infrastructureBenjamin Dauvergne2010-01-251-0/+1
| | | | | | | | | | | | | | | | * XS files is autogenerated using bindings/binding.py model of the Lasso API. All constants are in the Lasso::Constants package, the LASSO_ prefix is removed. All classes are now Lasso::ClassName, field accessor also serves as setters, i.e you can do this: $name_id = Lasso::Saml2NameID::new(); $name_id->content('coin'); print $name_id->content; Is still missing: - a lot of test files, - support for hashtables, - and throwing exceptions when return code is non-zero.
* Bindings: remove useless overridesBenjamin Dauvergne2010-01-211-11/+0
| | | | | | * bindings/overrides.xml: It is no more needed to force return type of constructors to their real types, the bindings check the type dynamically anyway.
* Bindings: in overrides.xml, remove noew useless directivesBenjamin Dauvergne2010-01-041-47/+0
|
* Binding ID-WSF 2.0: do not bind lasso_wsa_endpoint_reference_get_*_token methodsBenjamin Dauvergne2010-01-041-0/+2
|
* Bindings: make the binding infrastructure understand GObject-introspections ↵Benjamin Dauvergne2010-01-041-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | annotations * bindings/bindings.py * bindings/utils.py: add convenience function to treat arguments tuple: (type,name,{annotations}). introduce new argument options, fix that arguments are 3-tuple of the form (type,name,annotations), where annotations is a dictionary. Key of this dictionnary can be: - optional, wheter the argument is necessary, it means it has a default value. - out, means that the pointer is a pointer of pointer, for bindings that can return exceptions, it will be returned instead of the integer error code, the only way to access error codes will be exceptions. - element-type, contained type of a list or an array, - key-type, value-type, type of respectively the key and value of a GHashTable. - transfer, wheter a the callee(for arguments)/caller(for return values) owns the values passed, it can be none,container(if the callee/caller only owns the container not the contained value) or full. doc.parameters is now a 3-tuple of (attribute-name, attribute-description, attribute-annotations) where attribute-annotations is a string of the form '(option1)(option2 option-arguments) etc.'. - add predicates for xml, list and time_t values. improve predicates for cstring and const modifier. * bindings/overrides.xml: 'out' arguments are not well supported for java, so skip functions using them. * bindings/java/lang.py bindings/php5/php_code.py bindings/php5/wrapper_source.py bindings/python/lang.py: - update language specifig binding generators for handling new annotations. - improve python method declaration, handle optional arguments with default values, factorize this chode in two methods, get_python_arg_decl and defval_to_python_value. * bindings/python/tests/Makefile.am bindings/python/tests/idwsf1_tests.py bindings/python/tests/idwsf2_tests.py: make test work with out of source build dir.
* Binding: skip lasso_data_service_get_query_itemBenjamin Dauvergne2009-08-281-0/+1
| | | | | | * bindings/overrides.xml: bindings do not support out arguments, so skip generating bindings for lasso_data_service_get_query_item for the moment.
* Bindings: Skip lasso_data_service_get_answersBenjamin Dauvergne2009-08-271-0/+1
| | | | * bindings/overrides.xml: skip unsupported function.
* Bindings: skip ID-WSF methods with unsupported signaturesBenjamin Dauvergne2009-08-261-3/+6
| | | | | | * bindings/overrides.xml: some functions have output parameters (pointer on pointers) that are currently not supported by our binding generator, so we skip them.
* 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.
* 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
* Many fix to compile with --enable-wsf and --enable-debugging and also toBenjamin Dauvergne2008-09-231-0/+1
| | | | | | | | | | | | | | | | | | 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.
* don't put registry functions in the bindingsDamien Laniel2008-09-031-0/+3
|
* remove useless overridingBenjamin Dauvergne2008-08-011-1/+0
|
* forked lasso branch for adelineBenjamin Dauvergne2008-08-011-0/+3
|
* provider_id is optional in lasso_session_get_assertionsFrederic Peters2008-05-291-1/+3
|
* return of lasso_server_get_svc_metadatas so return_owner = FalseBenjamin Dauvergne2008-05-281-1/+1
|
* add qualifier for the GList returned by lasso_server_get_svc_metadatasBenjamin Dauvergne2008-05-261-0/+1
|
* last argument to check_version was optional with the SWIG bindingsFrederic Peters2008-05-261-0/+6
|
* allows querying a list of items with ID-WSF 2.0 data serviceDamien Laniel2008-05-141-0/+2
|
* [project @ fpeters@0d.be-20080423100400-sbs984j19ik6dxzi]Frederic Peters2008-04-291-0/+7
| | | | | | | | merge Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-23 12:04:00.477000+02:00
* [project @ fpeters@0d.be-20080406135913-4sxje4sifk407jna]Frederic Peters2008-04-291-1/+1
| | | | | | | support for methods returning GList* of LassoNode* Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-06 15:59:13.889000+02:00
* [project @ fpeters@0d.be-20080406111623-pf8iq94lrfu2w2un]Frederic Peters2008-04-291-9/+7
| | | | | | | extended the skip attribute to accept more values Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-06 13:16:23.574000+02:00
* [project @ fpeters@0d.be-20080406100353-gauqob9b1238gw9o]Frederic Peters2008-04-291-1/+2
| | | | | | | functions that are not owner of their return type Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-06 12:03:53.304000+02:00
* [project @ fpeters@0d.be-20080405220112-hv62do6qtb8itkxw]Frederic Peters2008-04-291-0/+40
| | | | | | | optional parameters for LassoDiscovery and LassoDataService Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-06 00:01:12.703000+02:00
* [project @ fpeters@0d.be-20080405184728-xay3dzjeq41suxav]Frederic Peters2008-04-291-2/+44
| | | | | | | added remaining optional parameters that were defined in the swig bindings Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-05 20:47:28.881000+02:00
* [project @ fpeters@0d.be-20080403104659-tio35cweqbl32auj]Frederic Peters2008-04-291-0/+7
| | | | | | | lasso_idwsf2_discovery_metadata_register_self has its last parameter optional Original author: Frederic Peters <fpeters@0d.be> Date: 2008-04-03 12:46:59.281000+02:00
* [project @ fpeters@0d.be-20080326094754-cw66nuog62q06ekk]Frederic Peters2008-04-291-2/+2
| | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-26 10:47:54.384000+01:00
* [project @ fpeters@0d.be-20080326084502-krmekmh7mokemn18]Frederic Peters2008-04-291-0/+4
| | | | | | | possibility to qualify GList* parameters Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-26 09:45:02.789000+01:00
* [project @ fpeters@0d.be-20080325181554-raqz9a721r2vjo5t]Frederic Peters2008-04-291-0/+1
| | | | | | | return type qualifier to know what is the content of a GList* Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-25 19:15:54.747000+01:00
* [project @ fpeters@0d.be-20080325172346-eitu3onvzps4b30z]Frederic Peters2008-04-291-0/+4
| | | | | | | | 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-20080309152828-pw4gd3lcm7rb7dxd]Frederic Peters2008-04-291-0/+6
| | | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-03-09 16:28:28.854000+01:00
* [project @ fpeters@0d.be-20080227102117-mbx90lw49ty9vfq9]Frederic Peters2008-04-291-0/+4
| | | | | | | | | | rename lasso_profile_is_identity_dirty to lasso_profile_has_dirty_identity (and ditto with s/identity/session/) to provide both correct documentation and backward compatibility in Python bindings Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-27 11:21:17.023000+01:00
* [project @ fpeters@0d.be-20080225121334-yi07nl8kefuefhk9]Frederic Peters2008-04-291-2/+16
| | | | | | | 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-291-0/+4
| | | | | | | merging benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-22 10:36:56.421000+01:00
* [project @ fpeters@0d.be-20080217115557-8qtcrc1vzb75f75c]Frederic Peters2008-04-291-1/+23
| | | | | | | | merged Benjamin branch Original author: Frederic Peters <fpeters@0d.be> Date: 2008-02-17 12:55:57.088000+01:00
* [project @ fpeters@0d.be-20071115161633-6e49xtjy7dgqxm3r]Frederic Peters2008-04-291-1/+7
| | | | | | | | | added special support for functions that return a borrowed reference to a GObject*. Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-15 17:16:33.298000+01:00
* [project @ fpeters@0d.be-20071113015838-961yf93m001amgi1]Frederic Peters2008-04-291-0/+5
| | | | | | | | merging Damien branch Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-13 02:58:38.825000+01:00
* [project @ fpeters@0d.be-20071111215225-xo2v0iwwjw74rqyp]Frederic Peters2008-04-291-0/+3
| | | | | | | | | | override lasso_profile_get_nameIdentifier to be renamed to lasso_profile_get_federation_nameIdentifier in bindings, so it doesn't shadow the LassoProfile::nameIdentifier member. Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-11 22:52:25.286000+01:00
* [project @ fpeters@0d.be-20071101183642-85c94st4sjujh4sr]Frederic Peters2008-04-291-1/+3
| | | | | | | | added special support required for SAML2_SUPPORT and WSF_SUPPORT constants Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-01 19:36:42.776000+01:00
* [project @ fpeters@0d.be-20071101181800-r94oeih0q8hplrxo]Frederic Peters2008-04-291-0/+6
| | | | | | | | | added support for standalone functions in lasso wrapper; and added renames for a bunch of them Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-01 19:18:00.896000+01:00
* [project @ fpeters@0d.be-20071101153722-f7053pg8s6x5rpst]Frederic Peters2008-04-291-0/+10
| | | | | | | | added comments to file, and added optional args definition to lasso_provider_new Original author: Frederic Peters <fpeters@0d.be> Date: 2007-11-01 16:37:22.975000+01:00
* [project @ fpeters@0d.be-20071006183919-bv96kzjkqzho9p5s]Frederic Peters2008-04-291-0/+17
| | | | | | | | added support for non-None optional args Original author: Frederic Peters <fpeters@0d.be> Date: 2007-10-06 20:39:19.031000+02:00
* [project @ fpeters@0d.be-20071006172452-7ed22uoeqm22gled]Frederic Peters2008-04-291-0/+13
| | | | | | | | | | | | | | | | | | | | | | | support for exceptions, with a complete hierarchy of exceptions; and emulation of swig binding behaviour (access to code via [0] and to error string via [1]) login = lasso.Login(server) try: login.initAuthnRequest('plop', lasso.HTTP_METHOD_REDIRECT) except lasso.Error, error: print error # <lasso.ProviderNotFoundError(-201): ProviderID unknown to LassoServer.> print error.code # -201 print error[0] # -201 print error[1] # ProviderID unknown to LassoServer. sys.exit(1) Original author: Frederic Peters <fpeters@0d.be> Date: 2007-10-06 19:24:52.095000+02:00
* [project @ fpeters@0d.be-20071005193755-jzlc2gc56thaxqwe]Frederic Peters2008-04-291-0/+12
added support for optional arguments and fixed method calls with objects now working: server = lasso.Server('../../tests/data/sp1-la/metadata.xml') server.addProvider(2, '../../tests/data/idp1-la/metadata.xml', '../../tests/data/idp1-la/public-key.pem') login = lasso.Login(server) login.initAuthnRequest('https://idp1/metadata', 4) login.buildAuthnRequestMsg() print login.msg_url Original author: Frederic Peters <fpeters@0d.be> Date: 2007-10-05 21:37:55.914000+02:00