Commit Graph

801 Commits

Author SHA1 Message Date
Nicolas Clapies 4909ede99e *** empty log message *** 2004-09-20 15:54:09 +00:00
Emmanuel Raviart 21c603e245 Made remote_providerID optional in lasso_lecp_build_authn_request_msg and in
SWIG

Corrected SWIG handling of metadata.

Added attribute providerIds to Session in SWIG.
2004-09-20 15:52:03 +00:00
Nicolas Clapies 38b810e034 Fixed big mistake when updating name registration type in lassoRequestType : moved type at the end to preserve API, sorry. 2004-09-20 15:42:00 +00:00
Frédéric Péters 055ef8fe64 repair API/ABI; thanks you very much. 2004-09-20 14:49:49 +00:00
Nicolas Clapies dd7a3ee640 Added name registration type in lassoRequestType enum. added test in function lasso_profile_get_request_type_from_soap_msg() 2004-09-20 14:30:43 +00:00
Nicolas Clapies 867b6fc5f8 Added tests in lasso_register_name_identifier_response_new_from_query(). Now return NULL if a required key value is not found 2004-09-20 14:16:11 +00:00
Nicolas Clapies 38ebd2003d Added test lasso_register_name_identifier_request_new_from_query(). Verify if SPProvidedNameIdentifier exists in query (As specified in IDFF 1.2 errata, SPProvidedNameIdentifier is optional) 2004-09-20 14:12:53 +00:00
Valery Febvre 1af6414dc1 Added lasso_get_public_key_from_pem_cert_file()
and lasso_get_pem_file_type() functions
2004-09-20 13:33:22 +00:00
Nicolas Clapies f0e838f219 Replaced call to lasso_identity_get_next_federation_remote_providerID() with lasso_identity_get_first_providerID() 2004-09-20 12:36:05 +00:00
Valery Febvre 6257249021 the remote_providerID parameter of lasso_login_build_authn_request_msg()
method is now optional.
If it's NULL, the providerID of the first provider of login->server is used.
2004-09-20 12:32:21 +00:00
Nicolas Clapies c3ea4a5088 Added lasso_identity_get_first_providerID(). Now it replaces lasso_identity_get_next_federation_remote_providerID() wich still exists to keep API / ABI compatibility 2004-09-20 12:23:51 +00:00
Valery Febvre b7950b5bc7 Added lasso_server_get_first_providerID() method 2004-09-20 11:58:40 +00:00
Frédéric Péters 60a65436a2 fixed typo 2004-09-17 18:11:17 +00:00
Frédéric Péters 585041d5fa use g_strdup_printf to avoir buffer size calculations and g_snprintf to avoir
buffer overrun.
2004-09-17 17:35:26 +00:00
Frédéric Péters 0215778ded use g_strdup_printf to avoid buffer size calculation; and free() the uri once
it has been used.
2004-09-17 17:32:58 +00:00
Frédéric Péters be0eb1ebcf strncpy won't add a trailing \0 to the string if it has over 512 characters;
only copy 511 and add a zero manually.
2004-09-17 16:52:48 +00:00
Frédéric Péters cc5bffb4bd removed remaining parenthesis on return statements 2004-09-17 15:19:18 +00:00
Frédéric Péters 5cfa71551d lasso_sha1 doesn't return a string but a buffer 2004-09-17 15:09:57 +00:00
Frédéric Péters 32fe149c50 remove removed code 2004-09-17 10:15:16 +00:00
Frédéric Péters 9275ffed95 alloc xmlChar with xmlMalloc in lasso_build_unique_id; alloc one more character
in lasso_sha1; remove some removed code
2004-09-17 10:14:42 +00:00
Frédéric Péters 6dda2ff2ab use memcpy to copy memory; also fixed type of samlArt. 2004-09-17 09:43:03 +00:00
Valery Febvre 7ea2275ca0 Disabled "consent" attribute checking when NameIDPolicy is set to federated
in the AuthnRequest (in lasso_login_process_federation method)
2004-09-16 15:25:52 +00:00
Nicolas Clapies 1430d739e5 Little indentation 2004-09-14 15:55:19 +00:00
Nicolas Clapies 48651a55d8 Added tests if required attributes in lasso_register_name_identifier_request_new_from_query() are not found. 2004-09-14 15:53:46 +00:00
Frédéric Péters 5be8519c1f Fixed ABI and API breakage. Please don't modify function signatures (even more
so when the new arg is not used).
2004-09-10 15:07:23 +00:00
Nicolas Clapies c1a3a2070d A lot of Updates ... currently it is unusable : lasso_name_registration_validate_request(), lasso_name_registration_process_response_msg(), lasso_name_identifier_mapping_validate_request() and lasso_name_identifier_mapping_process_response_msg() need to be completed 2004-09-10 14:39:01 +00:00
Nicolas Clapies e6598cefb8 Moved lasso_name_registration_validate_request() method at the end of definition order 2004-09-10 13:19:53 +00:00
Nicolas Clapies a534fb441b Moved lasso_name_registration_validate_request() at the end of declaration order 2004-09-10 13:16:16 +00:00
Frédéric Péters 84480e4352 Moved assertion to private part of LassoLogin* (use lasso_login_get_assertion
to get it).  Without breaking ABI.  Classy.
2004-09-10 13:05:36 +00:00
Nicolas Clapies 840395ffde Updated name registration object's methods code to have the same structure as the other profiles. It still needs to be tested before to be souked :) 2004-09-10 12:44:51 +00:00
Nicolas Clapies eca9e5cbcb Changed comment if error when building query logout request message 2004-09-10 12:23:28 +00:00
Nicolas Clapies edacd94c3e Added lasso_provider_get_registerNameIdentifierServiceReturnURL() method in LassoProvider object 2004-09-10 12:20:18 +00:00
Frédéric Péters db8d9f930f please use spaces between variable names and values 2004-09-08 15:50:02 +00:00
Romain Chantereay ce352716fd Add windows linker --add-stdcall-alias in order to permit failsafe use of DLLs. 2004-09-07 17:07:59 +00:00
Nicolas Clapies e4de8cee48 Comments miss in some last commits, so : the 4 last commits fixed a bad bug in lasso_logout_get_next_provideID() and a bug in the setting of status code value in logout response 2004-09-07 14:25:55 +00:00
Nicolas Clapies dcef5a4591 Fixed a seg fault in lasso_logout_get_next_providerID() 2004-09-07 14:22:23 +00:00
Nicolas Clapies 984ae67795 *** empty log message *** 2004-09-07 14:09:48 +00:00
Nicolas Clapies 4ba23fe9a8 Added entries for missing methods of logout object documentation : lasso_logout_init_request() and lasso_logout_reset_providerID_index() 2004-09-07 13:42:20 +00:00
Nicolas Clapies f922f7fffc Updated the API developer documentation 2004-09-07 13:41:22 +00:00
Nicolas Clapies de7d014d90 Updated the API developer documentation 2004-09-07 13:20:15 +00:00
Frédéric Péters 2e068417cf a bit late; fixed use of unitialized variables (-Wuninitialized needs -O) 2004-09-06 17:49:19 +00:00
Nicolas Clapies 7f96eb8e68 *** empty log message *** 2004-09-06 15:30:54 +00:00
Nicolas Clapies a4b4520abe *** empty log message *** 2004-09-06 15:27:26 +00:00
Nicolas Clapies e1fd04f28e Added lasso_logout_dump() to logout.h 2004-09-06 14:38:46 +00:00
Nicolas Clapies 19d696b1ac Renamed methods lasso_logint_set_assertion*() to lasso_login_set_assertion*() 2004-09-06 14:14:26 +00:00
Nicolas Clapies 0fd0bccbf5 Oups, little mistake : now attribute version is added only in lasso_profile_dump() instead of lasso_login_dump() or lasso_logout_dump() 2004-09-06 12:51:42 +00:00
Nicolas Clapies 8bcb9c4e0c Added version attribute in lasso dump messages 2004-09-06 12:36:47 +00:00
Frédéric Péters 3bc0eef7cd missing includes, unusued variables, usual saturday stuff. 2004-09-04 10:36:32 +00:00
Nicolas Clapies 7c777b2605 *** empty log message *** 2004-09-04 09:27:29 +00:00
Nicolas Clapies ad17109437 Fixed a lot of bugs in the logout from a SP to others SPs : now it remove each of the assertions SPs at IDPs and IDP returns the real LogoutResponse 2004-09-04 09:19:58 +00:00