summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/login.h
Commit message (Collapse)AuthorAgeFilesLines
* Fix license boilerplatesSimo Sorce2013-12-031-2/+1
| | | | | | | Instad of referring to an old FSF address, point the reader to the FSF website where the latest licenses and addresses are published. Signed-off-by: Simo Sorce <simo@redhat.com>
* [Core] change return type of all error returning methodsBenjamin Dauvergne2010-07-121-16/+16
| | | | | The new return type is lasso_error_t, it should allow to pinpoint easily methods returning an error code in bindings.
* Core: complete documentation on LassoLoginBenjamin Dauvergne2010-01-181-1/+6
|
* Core Login: in login.c, add assertion accessorBenjamin Dauvergne2010-01-041-1/+3
| | | | | | | | | | | * docs/reference/lasso/lasso-sections.txt: declare new function * lasso/id-ff/login.c lasso/id-ff/login.h: add new function lasso_login_get_assertion. * lasso/saml-2.0/login.c: store created assertions * lasso/id-ff/login.h: make assertion field private for bindings.
* Docs: change the doc production and lot of other fixesBenjamin Dauvergne2009-08-261-8/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * lasso/Makefile.am: distribute extract_sections.py * docs/references/lasso/lasso.types.in: add missing class (mainly SAML2 and ID-WSF 1.0/2.0) from docs/references/lasso.types.in * lasso/xml/strings.h: add lots of documentation, or at least documentation template to strings constants. * id-ff/login.h: * saml-2.0/assertion_query.h: * xml/xml.h: document undocumented enumerations. * lasso/errors.h: add proper documentation about error codes. * lasso/errors.c: new version of the lasso_strerror function * lasso/build_strerror.py: update the script that generater lasso_strerror from the documentation comments. Remove usage of OFTYPE * lasso/id-ff/session.c: * lasso/id-ff/session.h: remove usage of oftype, prefer gtk-introspection annotations instead. * lasso/id-wsf/data_service.h: * lasso/id-wsf/data_service.c: do the same. Add a script to build lasso-sections.txt * lasso/extract_sections.py: this script parses header files and generated lasso-sections.txt content for GObject class descriptions. Add a template file for the lasso-section.txt file * docs/references/lasso-sections.txt.in: this file serves as a base for the generation of lasso-sections.txt Update docs/references/Makefile.am for generating lasso-sections.txt * docs/references/Makefile.am: always rebuild template, using out of source build directory is too weird without it. call new script extract_sections.py to regenerate lasso-sections.txt if header files changed. Update lasso.sgml file with all missing sections * docs/reference/lasso.sgml: add all missing sections, mainly objects from XML schemas. * docs/reference/lasso-sections.txt: update it * *.c: add section documentation to some files. * lasso/xml/strings.h: fix bad usage or docbook markup
* All: Rework include files handling, separated ID-WSF code from SAML2/ID-FF codeBenjamin Dauvergne2009-08-261-18/+5
| | | | | | | | | | | | | * nearly all C files: change includes for relative paths. * lasso/id-wsf/id_wsf.h, lasso/id-wsf-2.0/id_wsf_2.h: add top level public include files for ID-WSF 1.0 and ID-WSF 2.0. * lasso/id-ff/server.*, lasso/id-ff/session.*, lasso/id-ff/identity.*: remove most of the code related to ID-WSF and push into lasso/id-wsf/id_ff_extensions.* and lasso/id-wsf-2.0/identity.c, lasso/id-wsf-2.0/server.c, lasso/id-wsf-2.0/session.c. * lasso/id-wsf-2.0/saml2_login.c, lasso/id-wsf-2.0/saml2_login_private.h: same change but for ID-WSF 2.0 support in SAML2 SSO profile.
* * Remove ending blanksBenjamin Dauvergne2008-09-121-6/+6
|
* moved gtk-doc inline as is better on so many points; also added schemaFrederic Peters2008-05-151-0/+20
| | | | fragments to published doc
* added support for sending SAMLv2 AuthnResponse over HTTP-Redirect (whichFrederic Peters2007-11-271-0/+1
| | | | shouldn't be used because the assertion within makes for a very big message)
* updated Copyright dates in all filesDamien Laniel2007-05-301-1/+1
|
* Added paos response message process support in LassoLogin object.Nicolas Clapies2006-12-051-0/+1
|
* Fixed lecp profile : added case when lecp profile is used when building ↵Nicolas Clapies2005-05-101-0/+1
| | | | assertion.
* added missing lasso_config.h include (necessary for LASSO_WSF_ENABLEDFrederic Peters2005-03-181-0/+2
| | | | definition)
* don't compile id-wsf files when wsf is disabled; this cuts down buildFrederic Peters2005-03-181-1/+6
| | | | time by a nice margin.
* Document new functions; pretty please. Fixed memory leak introduced inFrederic Peters2005-01-281-1/+1
| | | | | lasso_profile_get_request_type_from_soap_msg; moved wsf chunk from build_assertion to its own function.
* Merged wsf-api-change-not-for-0-6 branch with trunk.Emmanuel Raviart2005-01-271-4/+12
|
* Updated Copyright and authors.Emmanuel Raviart2005-01-221-3/+2
|
* moved remaining lasso[A-Z].* enums to Lasso[A-Z].*Frederic Peters2004-12-311-6/+6
|
* Minimal documentation for #LassoProfile and #LassoLoginFrederic Peters2004-12-221-0/+1
|
* API change in Single Sign On profile (IdP side) to allow the developer to messFrederic Peters2004-12-141-17/+11
| | | | | | with <lib:Assertion/> Outlined in http://lists.labs.libre-entreprise.org/pipermail/lasso-devel/2004-December/001119.html
* properly check signature on soap samlp:Request (login/artifact)Frederic Peters2004-12-141-0/+3
|
* [API Change] For consistency with the other profiles, remote_providerID hasFrederic Peters2004-12-141-3/+3
| | | | | been moved from build_authn_request_msg to init_authn_request in both Single Sign-On and LECP profiles. [details on lasso-devel@]
* removed struct LassoLoginPrivate declarationFrederic Peters2004-12-091-2/+0
|
* limit line length to 100 characters.Frederic Peters2004-11-251-41/+29
|
* renamed private struct member to private_data (gtk+ does it like that)Frederic Peters2004-11-221-2/+1
|
* cleaning #includesFrederic Peters2004-11-161-2/+2
|
* renamed lasso/environs/ to lasso/id-ff/Frederic Peters2004-11-151-1/+1
|
* LECP converted to new treeFrederic Peters2004-11-011-2/+2
|
* Done with the move to structures and the removal of protocols/ (lasso branchedFrederic Peters2004-10-271-29/+35
| | | | | | | | on October 2nd; occasional merges since then). - Compatible with current souk test suites. - Missing memory management for everything in xml/ - Missing xmlsec support for SOAP messages.
* Removed function lasso_login_process_without_authn_request_msg.Emmanuel Raviart2004-10-021-5/+2
| | | | | | | | | | | | It has been replaced with: lasso_login_init_self_addressed_authn_request(remote_providerID); /* ...Set protocolProfile, isPassive, consent, relayState here... */ lasso_login_process_authn_request_message(NULL, lassoHttpMethodSelfAddressed); This change was needed because there was no way to set isPassive, consent, etc, before. Standardized some error codes and messages.
* Added a param 'is_consent_obtained' in method:Valery Febvre2004-09-301-0/+10
| | | | | | | | | | | | | | | | | lasso_login_build_artifact_msg(), lasso_login_build_authn_response_msg(), lasso_login_process_federation(), lasso_lecp_build_authn_response_envelope_msg() AuthnRequest message accepts now all possible values for the NameIDPolicy: none, onetime, federated, any Added lasso_login_must_ask_for_consent() method This method must be called after lasso_login_process_authn_request_msg() Added lasso_login_process_without_authn_request_msg() method This method is useful to initiate SSO from IDP. Lasso.i was updated according to the changes.
* Moved 'signature_status' private property from LassoLogin to LassoProfileValery Febvre2004-09-231-1/+0
|
* Ooops, signature_status type must be gint, not gbooleanValery Febvre2004-09-221-1/+1
|
* Removed response_dump and assertion properties in LassoLogin objectValery Febvre2004-09-221-45/+36
| | | | | | | | | | Added an attribute (remote_providerID) in lasso_login_build_response_msg() Renamed lasso_login_add_response_assertion() into lasso_login_build_assertion() Renamed lasso_login_init_from_authn_request_msg() into lasso_login_process_authn_request_msg() Removed lasso_login_get_assertion(), lasso_login_set_assertion and lasso_login_set_assertion_from_dump() methods BEWARE : these changes break the API
* the remote_providerID parameter of lasso_login_build_authn_request_msg()Valery Febvre2004-09-201-2/+2
| | | | | method is now optional. If it's NULL, the providerID of the first provider of login->server is used.
* Moved assertion to private part of LassoLogin* (use lasso_login_get_assertionFrederic Peters2004-09-101-1/+1
| | | | to get it). Without breaking ABI. Classy.
* Renamed methods lasso_logint_set_assertion*() to lasso_login_set_assertion*()Nicolas Clapies2004-09-061-4/+4
|
* Updated process of artifact : now the IDP generates an artifact either or ↵Nicolas Clapies2004-09-031-2/+14
| | | | not the user authentication succeeded. When the SP resends the artifact to the IDP in a samlp:Request, it builds a samlp:Response message with Success status code value. If an assertion is found from artifact, then it adds it to the response. Finally, the IDP responds to the SP with the SOAP message
* Moved param 'http_method' of lasso_login_build_authn_request_msg() methodValery Febvre2004-08-211-3/+4
| | | | | in lasso_login_init_authn_request() BEWARE : this change breaks the API
* Fixed a bug in lasso_login_accept_sso()Valery Febvre2004-08-211-37/+37
| | | | Updated gtk-doc
* Added a new param 'http_method' in lasso_login_build_authn_request_msg()Valery Febvre2004-08-201-5/+6
| | | | BEWARE : this change breaks the API
* Created a high-level API above SWIG Python API.Emmanuel Raviart2004-08-191-2/+2
| | | | Removed a trailing "s" from an enum.
* Splited lasso_node_verify_signature() (LassoNode class) in 2 methods:Valery Febvre2004-08-191-2/+2
| | | | | | | | | | | lasso_node_verify_signature(), lasso_node_verify_x509_signature() Added 2 private methods in LassoNode: add_signature_tmpl(), sign_signature_tmpl(), Removed 'err' param in all methods for signing
* Removed the param 'remote_providerID' of lasso_login_init_authn_request() methodValery Febvre2004-08-091-3/+3
| | | | Added a param 'remote_providerID' in lasso_login_build_authn_request_msg() method
* Removed the 'identity' arg in lasso_login_new_from_dump() methodValery Febvre2004-08-041-14/+13
|
* LassoProfileContext class was renamed into LassoProfileValery Febvre2004-07-291-3/+3
|
* UpdateValery Febvre2004-07-291-6/+5
| | | | | LassoUser class was splited into 2 classes: LassoSession & LassoIdentity LassoIdentity was renamed into LassoFederation
* Removed arg user in lasso_login_newValery Febvre2004-07-261-2/+1
|
* Finished to implement lasso_login_destroy() and lasso_logout_destroy() methodsValery Febvre2004-07-261-0/+2
|
* Moved nameIdentifer attribute of Login object in ProfileContextValery Febvre2004-07-251-1/+0
|