summaryrefslogtreecommitdiffstats
path: root/lasso/id-ff/profile.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>
* [doc] do some documentation fixingBenjamin Dauvergne2011-12-221-0/+3
|
* [Core] change return type of all error returning methodsBenjamin Dauvergne2010-07-121-4/+4
| | | | | The new return type is lasso_error_t, it should allow to pinpoint easily methods returning an error code in bindings.
* Add a lasso_profile_get_signature_status methodBenjamin Dauvergne2010-05-011-0/+1
|
* Login: add internal function _lasso_login_must_verify_*signatureBenjamin Dauvergne2010-04-201-1/+2
|
* Ameliorate support for lasso_profile_set_signature_verify_hintBenjamin Dauvergne2010-04-161-1/+3
| | | | | | | | | | | | | | | | | | | | * lasso/id-ff/profile.h: - add end symbol for enum LassoProfileSignatureVerifyHint * lasso/id-ff/profile.c: - fix documentation of lasso_profile_set_signature_verify_hint - do not allow to set or return invalid value for the signature_verify_hint attribute. * lasso/saml-2.0/login.c: - handle new enum value * lasso/saml-2.0/profile.c: - handle new enum value - fix missing catch of signature error reporting when signature_verify_hint is IGNORE. * docs/reference/lasso/lasso-sections.txt: - export enums LassoProfileSignatureHint and LassoProfileSignatureVerifyHint * tests/metadata_tests.c: - fix test of all Role enumerations
* SAML 2.0&ID-FF 1.2: simplify and complete metadata loading for multi-role ↵Benjamin Dauvergne2010-03-271-1/+2
| | | | support
* Core: add method to check whether we are IdP or SP of another providerBenjamin Dauvergne2010-03-271-0/+1
| | | | | | | | * lasso/id-ff/profile.{c,h}: the method lasso_profile_sso_role_with, evaluate using the current LassoIdentity content if we are in a relation of IdP or SP toward another provider. This is based on the existence of a federation with this provider.
* Add signature_verify_hint accessor methods to LassoProfileBenjamin Dauvergne2010-03-271-1/+19
| | | | | | | | | | * lasso/id-ff/profile.{c,h}: add a LassoProfileSignatureVerifyHint enumeration and two accessor methods: - lasso_profile_get_signature_verify_hint - lasso_profile_set_signature_verify_hint * lasso/id-ff/profileprivate.h: add private field signature_verify_hint.
* Core: add an helper method to build a SOAP response in a LassoProfile objectBenjamin Dauvergne2010-03-021-0/+2
| | | | | | | | | | | | | * lasso/id-ff/profile.{c,h}: add lasso_profile_add_soap_fault_response(char* code, char *string, GList *details). * lasso/id-wsf-2.0/profile.{c,h}: change signature of lasso_idwsf2_profile_init_soap_fault_response. * lasso/id-wsf-2.0/data_service.c: use new function instead of manually intializing soap faults * lasso/id-wsf-2.0/discovery.c: init a soap fault when parsed request is of an unknown type, return proper error.
* Core: add missing return value owner semantic annotations to gettersBenjamin Dauvergne2010-02-171-1/+1
| | | | | | | * lasso/id-ff/provider.c: fix lasso_provider_get_base64_succinct_id, it returned a libxml string, copy it with g_strdup before releasing it to stay with GLib allocated string in return values.
* Core: complete documentation on LassoProfileBenjamin Dauvergne2010-01-181-8/+41
|
* Core: in profile.c, profile.h, profileprivate.h, add a new attribute to ↵Benjamin Dauvergne2010-01-121-0/+8
| | | | express signature needs
* All: Rework include files handling, separated ID-WSF code from SAML2/ID-FF codeBenjamin Dauvergne2009-08-261-5/+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.
* 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.
* All: Fix missing field initializer problemsBenjamin Dauvergne2009-01-241-1/+1
| | | | | | * lots of files: Explicitely set all field of initialized structures, in order to remove -Wno-missing-field-initilizers from needed compiler options when using -Wall -Wextra.
* * Remove ending blanksBenjamin Dauvergne2008-09-121-6/+6
|
* moved soap_envelope_request and soap_envelope_response to ProfilePrivate to ↵Damien Laniel2007-06-181-4/+0
| | | | avoid ABI breackage
* use nameIdentifier attribute of LassoProfile for IdWsf2 profilesDamien Laniel2007-06-131-3/+0
|
* removed IdWsf2Profile and use LassoProfile insteadDamien Laniel2007-06-131-0/+7
|
* updated Copyright dates in all filesDamien Laniel2007-05-301-1/+1
|
* added id-wsf 2.0 request types + added a missing includeDamien Laniel2007-04-251-0/+3
|
* detection of SOAP name id managementFrederic Peters2006-11-051-0/+2
|
* starting SAML 2 logoutFrederic Peters2005-11-211-1/+1
|
* SAML 2.0 support (only web-sso for the moment)Frederic Peters2005-11-201-3/+7
|
* Added REQUEST_TYPE_SASL_REQUEST returned by ↵Nicolas Clapies2005-03-211-0/+2
| | | | lasso_profile_get_request_type_from_soap_msg().
* documented LassoRequestType and killed unused LassoMessageType (it was alreadyFrederic Peters2005-02-211-9/+16
| | | | unused in 0.6.0 so I allow this as not breaking api)
* Merged wsf-api-change-not-for-0-6 branch with trunk.Emmanuel Raviart2005-01-271-1/+5
|
* Updated Copyright and authors.Emmanuel Raviart2005-01-221-3/+2
|
* made lasso_profile_set_response_status into a private functionFrederic Peters2005-01-121-3/+0
|
* moved remaining lasso[A-Z].* enums to Lasso[A-Z].*Frederic Peters2004-12-311-4/+4
|
* generate xmlsec signatures in get_xmlNode; this should allow envelopes (inFrederic Peters2004-12-281-2/+5
| | | | LECP) to work properly.
* Minimal documentation for #LassoProfile and #LassoLoginFrederic Peters2004-12-221-12/+8
|
* Moved LassoProfile->nameIdentifier from char* to LassoSamlNameIdentifier*,Frederic Peters2004-12-181-1/+1
| | | | | | | | | | | gaining back access to the nameFormat added late before 0.5. There are no bindings for LassoSamlNameIdentifier; as a temporary and compatible measure; profile->nameIdentifier in bindings continues to return a char* (profile->nameIdentifier->content). At the same time the same change has been done for LassoNameRegistration->oldNameIdentifier.
* limit line length to 100 characters.Frederic Peters2004-11-251-25/+18
|
* renamed private struct member to private_data (gtk+ does it like that)Frederic Peters2004-11-221-1/+1
|
* more header cleaningFrederic Peters2004-11-161-4/+1
|
* renamed lasso/environs/ to lasso/id-ff/Frederic Peters2004-11-151-3/+3
|
* Done with the move to structures and the removal of protocols/ (lasso branchedFrederic Peters2004-10-271-57/+33
| | | | | | | | 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.
* Integrated scalp_is_liberty_query into Lasso. Consequently,Emmanuel Raviart2004-10-021-1/+6
| | | | | LASSO_PROFILE_ERROR_INVALID_QUERY is now a negative error code and a critical message is displayed when this error occurs.
* Removed function lasso_login_process_without_authn_request_msg.Emmanuel Raviart2004-10-021-1/+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.
* Moved 'signature_status' private property from LassoLogin to LassoProfileValery Febvre2004-09-231-0/+1
|
* Added lasso_profile_get_remote_providerID() methodValery Febvre2004-09-221-0/+2
|
* *** empty log message ***Nicolas Clapies2004-09-201-8/+8
|
* Fixed big mistake when updating name registration type in lassoRequestType : ↵Nicolas Clapies2004-09-201-8/+8
| | | | moved type at the end to preserve API, sorry.
* repair API/ABI; thanks you very much.Frederic Peters2004-09-201-7/+7
|
* Added name registration type in lassoRequestType enum. added test in ↵Nicolas Clapies2004-09-201-0/+1
| | | | function lasso_profile_get_request_type_from_soap_msg()
* Added constant lassoHttpMethodAny.Emmanuel Raviart2004-08-261-1/+2
| | | | Added error constants to SWIG (and one to Python).
* renamed lassoFederationTermination to lassoDefederation in lassoRequestType enumNicolas Clapies2004-08-241-1/+1
|
* added private attribute http_request_method in profile class to know the ↵Nicolas Clapies2004-08-181-0/+2
| | | | HTTP method in defederation, name registration, logout and name mapping used by the requester