| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
| |
Signature element
* lasso/xml/tools.c:
in SAML message signatures are usually envelopped signatures, so just
lookup for the first direct child which is a Signature node.
|
| |
|
|
|
|
| |
* lasso/utils.h:
create a temporary varaible to store result of second argument
evaluation to prevent spurious side effects.
|
| |
|
|
|
|
|
| |
* lasso/saml-2.0/profile.c:
check the given http_method it must one in
- LASSO_HTTP_METHOD_ARTIFACT_POST,
- LASSO_HTTP_METHOD_ARTIFACT_GET.
|
| |
|
|
|
|
| |
* lasso/id-ff/login.c:
if artifact is invalid return LASSO_PROFILE_ERROR_INVALID_ARTIFACT as
in lasso_saml20_profile_init_artifact_resolve().
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add precision on usage. add all possible return codes with meanings.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add all possible return codes and their meaning.
|
| |
|
|
|
|
|
|
| |
* lasso/id-ff/login.c:
change the return code for when no remote provider ID could be
defined (because the argument is NULL and the server object contains
no providers) so that we can distingish the case where the given
provider is unknown or if there is no providers configured.
|
| |
|
|
|
|
| |
* lasso/id-ff/login.c:
all destroy functions are deprecated, g_object_unref() should be used
instead.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add all possible return codes with meaning.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add all possible return codes with meaning.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add all possible return codes with meaning.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add all possible return codes with meaning.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add all possible return codes with meaning.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add all possible return codes.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
precise return value meaning.
|
| |
|
|
|
| |
* lasso/id-ff/login.c:
add possible return codes.
|
| |
|
|
|
| |
* lasso/id-ff/logout.c:
add description of all possible return codes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/utils.h:
change 'goto exit' for 'goto cleanup'. rename all goto_exit macros to
goto_cleanup_. rename goto_cleanup_if_fail to
goto_cleanup_if_fail_with_rc and add a
goto_cleanup_if_fail for function which do not return an integer
value. add documentation for goto_cleanup macro family.
* lasso/id-ff/login.c:
* lasso/id-ff/provider.c:
* lasso/id-ff/server.c:
* lasso/id-ff/session.c:
* lasso/id-wsf/discovery.c:
* lasso/id-wsf/wsf_profile.c:
* lasso/saml-2.0/profile.c:
* lasso/utils.h:
* lasso/xml/lib_logout_request.c:
* lasso/xml/tools.c:
* lasso/xml/xml.c:
update name of goto_exit_if_fail macros. rename 'exit' labels to
'cleanup'.
|
| |
|
|
|
|
|
| |
* lasso/xml/xml.c:
if xsi:type is not able to find a GObject typename for the current
node, then do not erase the actual prefix value. change prefix type
to const char.
|
| |
|
|
|
|
| |
* lasso/saml-2.0/profile.c:
use new API lasso_url_add_parameter to handle RelayState parameter
creation.
|
| |
|
|
|
|
| |
* lasso/saml-2.0/login.c:
if http_method is not among ARTIFACT_GET and ARTIFACT_POST, return an
INVALID_HTTP_METHOD error.
|
| |
|
|
|
| |
* tests/basic_tests.c:
load data/response-1 and try to parse it.
|
| |
|
|
|
|
|
|
| |
* xml/tools.c:
add lasso_url_add_parameter that concat the string &key=value to an
existing URL where key and value are url-encoded.
* xml/private.h:
declare lasso_url_add_parameter.
|
| |
|
|
|
|
|
| |
* tests/login_tests_saml2.c:
add a C login test for SAML 2.
* tests/Makefile.am:
add the new test to dependencies.
|
| |
|
|
|
|
| |
* lasso/xml/xml.c:
in lasso_node_new_from_xmlNode if no typename is found for the given
xmlNode, return NULL.
|
| | |
|
| |
|
|
|
|
| |
* lasso/xml/xml.c:
* lasso/xml/tools.c:
isalnum takes a int as first arg.
|
| |
|
|
|
|
|
|
|
|
|
| |
* lasso/backward_comp.h:
this header will contain substitue function, defines or types for
compatibility with older versions of dependencies.
* lasso/utils.h:
remove declaration of g_strcmp0
* lasso.c:
* tests/login_tests.c:
use backward_comp.h
|
| |
|
|
|
|
|
|
|
| |
* bindings/java/lang.py:
fix cast issue
* bindings/python/wrapper_top.c
fix type issue
* lasso/registry.c
fix cast issue
|
| |
|
|
|
|
|
|
| |
* lasso/utils.h:
if glib is older than 2.16, export g_strcmp0 as part of internal
headers, in order to use it in login_tests.c
* tests/login_tests.c:
include utils.h
|
| |
|
|
|
|
|
| |
* website/web/download/index.xml:
update link for last release download
* website/web/news/13-release-2.2.2.xml:
add news about release 2.2.2
|
| |
|
|
|
|
|
|
| |
* configure.ac:
* fedora/lasso.spec:
* lasso.doap:
update lasso version to 2.2.2, this commit will be the reference for
the 2.2.2 release.
|
| |
|
|
|
|
|
| |
* lasso/Makefile.am:
source dependencies must refer to $(srcdir) in order to pass
distcheck, I forgot to do it in types.c and symbols.sym target
changes.
|
| |
|
|
|
|
| |
* lasso/xml/lib_logout_request.c:
immediately return from init_from_query if overloaded parent method
fails.
|
| |
|
|
|
|
|
| |
* lasso/saml-2.0/profile.c:
in lasso_saml20_profile_build_redirect_request_msg and
lasso_saml20_profile_build_redirect_response, use new function
lasso_saml20_profile_build_http_redirect.
|
| |
|
|
|
|
|
|
| |
* lasso/debug.h:
* lasso/lasso.c:
add a lasso_flag_add_signature flag variable (default to TRUE),
and parsing code to change it from LASSO_FLAG environment variable.
("env LASSO_FLAG=no-add-signature test").
|
| |
|
|
|
|
|
| |
* lasso/id-ff/login.c:
add condition upon checking of the InResponseTo field: checks only if
strict checking is activated as it could stop old code using Lasso
from working.
|
| |
|
|
|
|
|
|
| |
* lasso/debug.h:
declare lasso_flag_strict_checking global boolean variable.
* lasso/lasso.c:
add parsing for new option called 'strict-checking'.
|
| |
|
|
|
|
| |
* lasso/xml/xml.c: use standardized assignment macros (it takes care of
releasing previous valuesm and other peculiarities associated with
safe pointer usage).
|
| |
|
|
|
|
|
| |
* lasso/id-ff/profile.c: add tracing code activaged by
LASSO_FLAG=memory-debug to print release of field values.
Complement the existing code in generic deallocation procedure in
LassoNode.
|
| |
|
|
|
| |
* lasso/debug.h:
export.h is needed for the LASSO_EXPORT macro.
|
| |
|
|
|
|
| |
* lasso/utils.h:
lasso_mem_debug print deallocation message with respect to class and
field.
|
| |
|
|
|
|
| |
* lasso/utils.h:
assignment to the temporary variable allow to check for the typing,
do not use lasso_check_type_equality.
|
| |
|
|
|
| |
* lasso/utils.h:
macros to assign and release xmlSecKey(s).
|
| |
|
|
|
|
| |
* lasso/xml/tools.c:
* lasso/xml/xml.c:
release xmlDoc, properly steal nodes by using xmlSetTreeDoc(xmlnode, NULL);
|
| |
|
|
|
|
|
|
|
|
|
|
| |
* lasso/id-ff/defederation.c:
* lasso/id-ff/logout.c:
* lasso/id-ff/profile.c:
* lasso/id-ff/provider.c:
* lasso/id-ff/server.c:
add missings casts, remove useless wrappers
* lasso/id-ff/logout.c:
In lasso_logout_process_request_msg change sequence of "if" for a
"switch".
|
| |
|
|
|
|
|
|
|
|
|
| |
* lasso/id-ff/provider.c:
* lasso/id-ff/server.c:
* lasso/id-ff/session.c:
use macros to release previous value when necessary,
release object used as parameters to constructors,
free the encryption key associated with a provider,
release the key manager created for a saml signature
verification.
|
| |
|
|
|
|
|
|
|
| |
* tests/basic_tests.c:
* tests/login_tests.c:
* tests/metadata_tests.c:
* tests/random_tests.c:
* tests/tests.c:
add missing g_free and g_object_unref calls.
|
| |
|
|
|
| |
* bindings/bindings.py: when parsing headers, skipped deprecated struct
fields.
|