Commit Graph

1508 Commits

Author SHA1 Message Date
nobody 611f7eb2e5 This commit was manufactured by cvs2svn to create tag
'post-0-4-1-before-api-change'.
2004-09-20 16:20:16 +00:00
Emmanuel Raviart 690501c303 Made argument remote_providerID optional for Defederation.initNotification,
in SWIG binding.
2004-09-20 16:20:16 +00:00
Nicolas Clapies adc8c908d9 Added binding for new name registration type 2004-09-20 16:03:40 +00:00
Christophe Nowicki e025fd2793 PHP session are stored in the database 2004-09-20 16:01:45 +00:00
Christophe Nowicki 63eda21099 PHP session are now stored in the database
A now table was added 'sso_session' for storing information about the
PHP Session, it's possible to view logged user
Logout destroy the PHP session in the IdP
Bug : user can't sso twice ;(
2004-09-20 16:01:08 +00:00
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 7c30af2e90 Added name registration declaration and definition 2004-09-20 14:32:06 +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
Frédéric Péters 38b0c08b95 I wanted to login
/But it was too long/
So I logged out
   /It was not much shorter/
2004-09-20 14:29:56 +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
Emmanuel Raviart ad1e977a2b Added SWIG bindings for metadata, providers and providerIds.
Reworked PHP4 binding for Identity.providerIds => PHP API has changed.
2004-09-18 20:29:49 +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
Christophe Nowicki 1db82e571d log viewer for the Service Provider and the Identity Provider
added logger for in many files
updated idp1 metadata, added .php extension
added session viewer for the sp (you will be able to view online users)
2004-09-17 16:02:24 +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
Romain Chantereay f70d60877a Uptaded NSI scripts:
* Set version to 0.4.1-2 (filename is set too)
    * Updated files modules documentation.
    * Added intl.dll (part of gettext project) to dependencies installation.

PS: Gettext is not included, just intl.dll
2004-09-17 12:18:30 +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
Christophe Nowicki 40940b95aa New logging system with a web interface. 2004-09-16 15:57:55 +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
Christophe Nowicki 9fcd2d7885 For multiple virtual hosts with certificat you need to set the CN.
It's fixed in the PHP sample README.
2004-09-16 13:55:50 +00:00
Christophe Nowicki 6075146752 README for the PHP samples is now complete. Can someone try it? 2004-09-16 12:29:20 +00:00
Christophe Nowicki 2f0a452be3 Added sample xml metadata in the distribution
Added a README file, this file explain howto setup a PHP IdP/SP, it's
not fully documented yet. Work in progress.
2004-09-15 15:59:59 +00:00
Christophe Nowicki 881bb4d750 New logging system based on Pear::Log package.
Every actions on the idp, sp will be logged inside the database, syslog
a file.
2004-09-15 08:25:45 +00:00
Nicolas Clapies 5ee3977db1 Added binding for LassoNameRegistration C object 2004-09-14 16:00:07 +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
Christophe Nowicki 648b65714b now the user list show federations 2004-09-13 16:00:30 +00:00
Christophe Nowicki a58eaf5925 bind property providerIDs for LassoIdentity
added typemap, convert GPtrArray to PHP indexed string array
2004-09-13 15:55:23 +00:00
Christophe Nowicki 8976ed87f5 split source code of singleSignOn.php in many functions
added support for http basic authentification
remove useless "?SID=" values
2004-09-13 12:32:31 +00:00
Christophe Nowicki 19663b8864 change header("Location $url\n\n") to header("Location $url\r\n\r\n") 2004-09-10 15:35:06 +00:00
Christophe Nowicki 0abfa7d0c8 Use header("Location: $url\n\n") instead of header("Location: $url")
Secure every SQL query with the quoteSmart methode.
Completely rewrite singleSignOn.php, now the code is more easy to understand
and more clean.
2004-09-10 15:17:36 +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