summaryrefslogtreecommitdiffstats
path: root/lasso
Commit message (Collapse)AuthorAgeFilesLines
...
* beginning of a pool of macros for mem handling, affectation to fields, etc..Benjamin Dauvergne2008-08-011-2/+1
|
* * remove body->id and correlation->id setup, no need to set id on everything.Benjamin Dauvergne2008-08-011-1/+0
|
* * add detail node to node with specialised detection in ↵Benjamin Dauvergne2008-08-011-1/+3
| | | | lass_node_new_from_xmlNode
* * specialise lasso_node_new_from_xmlNode for soap:detail nodeBenjamin Dauvergne2008-08-011-0/+2
|
* Match is:RedirectRequest and set msg_url to the url to redirect toBenjamin Dauvergne2008-08-011-5/+25
|
* do not use normal add_assertion method when reconstructing a session, no ↵Benjamin Dauvergne2008-08-011-22/+33
| | | | need to add Advice to assertion_by_id container
* Fix wrong node name in SOAP faultBenjamin Dauvergne2008-08-012-2/+2
|
* Fix bad SNIPPET_TYPE for attribute maxInteractionTime, it was treated as a ↵Benjamin Dauvergne2008-08-011-1/+1
| | | | | | string, and provoked a SEGFAULT.
* * lasso/xml/xml.c: add support for dgme:Status node.Benjamin Dauvergne2008-08-011-0/+2
|
* * lasso/xml/xml.c: in samlNs, compare prefix *AND* href fields of the ↵Benjamin Dauvergne2008-08-011-1/+2
| | | | namespace object
* copy node instead of stealing it to xmlDoc object, when parsing session dump ifBenjamin Dauvergne2008-08-011-18/+19
| | | | no children is present try to get a base64 encoded assertion.
* add assertion_id to TokenSecurityReferenceBenjamin Dauvergne2008-08-011-0/+2
|
* * lasso/id-ff/session.c: fix compilation errors.Benjamin Dauvergne2008-08-011-5/+6
|
* * lasso/id-ff/session.c: store ID-WSF assertion in base64 to fix problem ofBenjamin Dauvergne2008-08-011-3/+73
| | | | formatting of session dumps.
* * lasso/id-wsf/wsf_profile.c:Benjamin Dauvergne2008-08-011-55/+66
| | | | | | | | | | - change return code variable from 'ret' to 'rc' to permit use of standardised macros like goto_exit_if_fail. - add initialization to NULL of lot of variables, to enable error return paths. - adapt to change bo soap:Body id field to its new name 'Id' - fix numerous mem leaks by using assignment macros (g_assign_gobject, g_list_add_gobject) and release macros (g_release_gobject).
* * lasso/id-ff/login.c: comment the generation of Advice when ↵Benjamin Dauvergne2008-08-014-7/+29
| | | | | | | | | | | | ResourceOffering for the DiscoService support a security mechanism needing one. Anyway the generation of Credentials is broken. * lasso/id-ff/session.c: add treatment of saml:Advice on newly added Assertions, keep the transmitted assertions inside the session indexed by their AssertionID. * lasso/xml/saml_advice.{c,h}: change content to SNIPPET_LIST_XMLNODES.
* * lasso/id-wsf/discovery.c: fix macros assign_resource_id to adapt to ↵Benjamin Dauvergne2008-08-011-17/+16
| | | | standard return code name: rc
* * lasso/id-wsf-2.0/profile.c, lasso/id-wsf/authentication.c: adapt to change ofBenjamin Dauvergne2008-08-012-2/+2
| | | | name of id attribute in LassoSoapBody
* * lasso/xml/disco_encrypted_resource_id.{c,h}: add support for any kind ofBenjamin Dauvergne2008-08-012-0/+3
| | | | content through a SNIPPET_LIST_XMLNODES marked field.
* * lasso/xml/soap_body.h: change name of variable id to IdBenjamin Dauvergne2008-08-012-3/+25
| | | | * lasso/xml/soap_body.c: change attribute id to Id and fix its namespace (wssu) in overloaded get_xmlNode
* * lasso/xml/wsse_security.c: fix wrong namespaceBenjamin Dauvergne2008-08-011-1/+1
|
* * lasso/xml/xml.c: make xmlClean change namespace of properties not just of ↵Benjamin Dauvergne2008-08-011-0/+13
| | | | nodes
* * lasso/xml/xml.c: adapt to new prefix of Dgme libraryBenjamin Dauvergne2008-08-011-1/+1
|
* * lasso/errors.h: new error for LassoWsfProfile signal missing CredentialsBenjamin Dauvergne2008-08-012-0/+3
|
* * lasso/id-wsf/discovery.c:Benjamin Dauvergne2008-08-011-29/+13
| | | | | | (lasso_discovery_build_credential, lasso_discovery_add_remove_entry, lasso_discovery_add_requested_service_type) use macro g_list_add, to reduce code size.
* * lasso/id-wsf/wsf_profile.c: In lasso_wsf_profile_set_security_mech_id ifBenjamin Dauvergne2008-08-011-2/+6
| | | | | | security_mech_id is NULL, default to LASSO_SECURITY_MECH_NULL. In lasso_wsf_profile_init_soap_request increment ref count of the argument when new reference are created.
* * add lasso/lasso_config.h.in because it is not generated anymore sinceBenjamin Dauvergne2008-08-011-0/+5
| | | | config.h become the normal configuration file.
* fix wrong const modifierBenjamin Dauvergne2008-08-011-1/+1
|
* * lasso/id-wsf/wsf_profile.c: fix wrong namespace in a call to xmlSecFindNodeBenjamin Dauvergne2008-08-011-1/+1
|
* * lasso/id-wsf/wsf_profile.c: implement creation of the signature for ID-WSFBenjamin Dauvergne2008-08-011-11/+251
| | | | | SAML security mechanism. Implemented many utility function that could be shared with other part of the library.
* * lasso/xml/tools.c: In lasso_sign_node suppress useless code to lookup the ↵Benjamin Dauvergne2008-08-011-6/+0
| | | | Signature node.
* * lasso/utils.h: add utility macros to releases libxml objects, to check nullBenjamin Dauvergne2008-08-011-0/+42
| | | | | parameters or badly typed parameters. add a macro that go to an "exit" label and set the return code variable named "rc".
* * lasso/id-wsf/wsf_profile.c: add documentation to the function ↵Benjamin Dauvergne2008-08-011-2/+3
| | | | lasso_wsf_profile_set_resource_offering:
* * lasso/id-wsf/wsf_profile.c,wsf_profile.h,wsf_profile_private.h: add const ↵Benjamin Dauvergne2008-08-013-17/+17
| | | | modifier to signature when possible
* add a const modifier on the argument offering of ↵Benjamin Dauvergne2008-08-011-1/+1
| | | | lasso_discovery_get_description_auto
* * lasso/id-wsf/discovery.c: In lasso_discovery_get_resource_offering_auto, doBenjamin Dauvergne2008-08-011-65/+68
| | | | | | not increment reference count of the returned value, it is not how it is done in the rest of the library. Returned gobject are always not-owned reference, you reference them only to keep them around.
* * Update errors.c to last state of errors.hBenjamin Dauvergne2008-08-011-1/+4
|
* add an new error for a missing ResourceID inside a ResourceOfferingBenjamin Dauvergne2008-08-011-0/+1
|
* mark init_modify as deprecated, use init_insertBenjamin Dauvergne2008-08-011-1/+1
|
* fix forgottent arg to g_list_foreachBenjamin Dauvergne2008-08-011-2/+2
|
* start rework of lasso_discovery_init_request, my intention is to base toher ↵Benjamin Dauvergne2008-08-011-42/+37
| | | | init_ function on this one
* fix a reference counting error when building response messageBenjamin Dauvergne2008-08-011-0/+2
|
* add documentation to lasso/id-wsf/discovery.cBenjamin Dauvergne2008-08-011-5/+27
|
* - surrounded declaration of containers for ID-WSF object with ifdef/endif, didBenjamin Dauvergne2008-08-011-91/+102
| | | | | | | the same in initialization/finalization code. - changed storage of resource offering from a list to a hash table - added a counter to create entryIDs for newly added resource offerings - simplify the code around resource offerings management
* fix issue #15Benjamin Dauvergne2008-08-011-6/+14
| | | | "In lasso_data_service_build_modify_response_msg we free a shared xmlNode"
* instead of moving assertion from session to new sessions, reference the old ↵Benjamin Dauvergne2008-08-011-17/+1
| | | | session in newly created ID-WSF services proxy
* move session storage of assertion for SAML ID-WSF authentication of request ↵Benjamin Dauvergne2008-08-014-41/+81
| | | | to xmlNode instead of LassoNode; add error handling when no description has been found in comply_with_saml_authentication
* beginning of signature implementation for SAML authenticationBenjamin Dauvergne2008-08-011-1/+15
|
* fix naming in documentation of ↵Benjamin Dauvergne2008-08-012-3/+17
| | | | lasso_wsf_profile_set_description_from_offering, add new private function lasso_wsf_profile_set_resource_offering
* integrate new errors messagesBenjamin Dauvergne2008-08-011-7/+9
|