| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/xml/tools.c,lasso/xml/private.h:
- lasso_eval_xpath_expression(xmlXPathContextPtr xpathCtx,
const char *expression, xmlXPathObjectPtr *xpathObjectPtr,
int *xpathErrorCode) is a boolean returning function handling call
to libxml API to evaluate en XPath expression in the xpathCtx
context. It eventually save the returned nodeset in the variable
pointed by xpathObjectPtr if it is not-NULL
(and eventually deallocate previous value)
and if an error happend it copy its code into the variable
pointed to by xpathErrorCode if it is not NULL.
|
|
|
|
|
| |
* lasso/Makefile.am:
only add id-wsf and id-wsf-2.0 to SUBDIRS if wsf is enabled.
|
|
|
|
|
| |
* lasso/Makefile.am:
add backward_comp.h to EXTRA_DIST
|
|
|
|
|
|
|
| |
* lasso/saml-2.0/profile.c:
HTTP Redirect binding mandate to remove signature at the SAML message
level, but signatures at the assertion, especially if the SP asked for
it, must be preserved.
|
|
|
|
|
| |
* lasso/registry.c:
if not initialized, do not free. do not segfault on NULL argument.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/id-wsf-2.0/data_service.c:
the specification for data service template indicat that the query
must fail at the first failing query, we think this is a stupid
behaviour so I set the default to keep running query until the last
one and returning a partial result if at least one failed and a
failed result if absolutely no query matched.
* lasso/id-wsf-2.0/private.h:
declare the lasso_flag_follow_id_wsf_supid_semantic flag.
* lasso.c:
declare the lasso_flag_follow_id_wsf_supid_semantic flag, it's
conditionned by the LASSO_WSF_ENABLED preprocessor symbol.
|
|
|
|
|
|
|
| |
* lasso/lasso.c:
* lasso/registry-private.h:
* lasso/registry.c:
make the registry be freed in lasso_shutdown.
|
|
|
|
|
|
|
|
|
|
| |
* id-ff/login.c:
* id-ff/logout.c:
* id-ff/profile.c:
* id-ff/provider.c:
* id-ff/server.c:
fix leaks by using field setting macros which frees previous values,
it also reduce code length sometimes.
|
|
|
|
|
| |
* lasso/debug.h:
export new flag lasso_flag_sign_messages.
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/saml-2.0/login.c:
* lasso/saml-2.0/logout.c:
* lasso/saml-2.0/name_id_management.c:
* lasso/saml-2.0/profile.c:
* lasso/saml-2.0/provider.c:
do not mix g_malloc strings with libxml strings, use the
string/gobject handling macros as much as possible, be a good memory
citizen, don't put your elbows on the table.
|
|
|
|
|
| |
* lasso/xml/xml.c:
fix more and more leaks.
|
|
|
|
|
| |
* lasso/xml/xml.c:
add more debugging code for the memory-debug flag.
|
|
|
|
|
|
| |
* lasso/xml/xml.c:
add code to trace allocation and deallocation of original xmlnode
associated to LassoNodes.
|
|
|
|
|
|
|
| |
* lasso/xml/lib_authentication_statement.c:
* lasso/xml/saml-2.0/samlp2_name_id_policy.c:
* lasso/xml/saml_name_identifier.c:
remove useless initialization code.
|
|
|
|
|
| |
* lasso/xml/tools.c:
in lasso_url_add_parameters free intermediate strings.
|
|
|
|
|
| |
* lasso/utils.h:
make lasso_mem_debug output on stderr and not stdout
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/saml-2.0/profile.c:
in lasso_saml20_profile_process_any_request and
lasso_saml20_profile_process_any_response do not make signature
validation failure as call failure, just store the result in
profile->signature_status and let the upper level functions handle
what to do with it. also add documentation about those two functions.
* lasso/saml-2.0/logout.c:
* lasso/saml-2.0/name_id_management.c:
handle new signature_status semantic.
* lasso/saml-2.0/login.c:
add internal documentation for
lasso_saml20_login_process_authn_response_msg.
|
|
|
|
|
|
| |
* lasso/saml-2.0/login.c:
if signature_status is SIGNATURE_NOT_FOUND, check one on the
assertion and keep the result in signature_status.
|
| |
|
|
|
|
|
| |
* lasso/saml-2.0/login.c:
if response was not signed, check the signature on the assertion.
|
|
|
|
|
|
|
| |
* lasso/saml-2.0/login.c:
lasso_saml20_login_check_assertion_signature() find the issuer of an
assertion, look it up in the server object and try to validate its
signature. It returns an error code if any of this step fails.
|
|
|
|
|
|
|
|
| |
* lasso/xml/saml-2.0/saml2_assertion.c:
* lasso/xml/saml-2.0/samlp2_request_abstract.c:
* lasso/xml/saml-2.0/samlp2_response.c:
* lasso/xml/saml-2.0/samlp2_status_response.c:
set keep_xmlnode flag to 1 in class_init.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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
|