| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
| |
* lasso/xml/wsf/xml_ws.h:
* lasso/xml/id-wsf-2.0/xml_idwsf2.h:
* lasso/xml/xml_idwsf.h:
new files.
|
|
|
|
|
|
|
| |
* lasso/id-wsf-2.0/profile.c:
* lasso/id-wsf-2.0/profile.h:
add two methods that set the response object and replace the content
of the SOAP message with this object.
|
|
|
|
|
|
|
| |
* lasso/xml/soap_fault.c:
* lasso/xml/soap_fault.h:
add a full constructor allowing to set faultcode and faultstring in
one call.
|
|
|
|
|
|
| |
* lasso/xml/misc_text_node.c:
non simple constructor must return the real object type because Java
binding does not work without it.
|
| |
|
| |
|
|
|
|
|
|
| |
* lasso/id-wsf-2.0/profile.c lasso/id-wsf-2.0/profile.c:
add two accessor to get to soap_response and soap_request object,
next step is to make those two fields really private.
|
|
|
|
|
|
|
|
| |
WS-Security
* lasso/xml/strings.h:
namespace of WS-Security 1.0 was duplicated,
add specified fault code linked to WS-Security.
|
|
|
|
|
|
|
|
|
|
| |
* xml/Makefile.am:
remove the file from the source list
* xml/wsse_security.c:
* xml/wsse_security.h:
remove the files
* xml/xml.c:
use LassoWsSec1SecurityHeader for LASSO_WSSE_HREF namespace also.
|
|
|
|
|
|
|
|
| |
* lasso/id-wsf/wsf_profile.c:
use the common LassoWsSec1SecurityHeader object instead of the
specific LassoWsseSecurity, and set the needed namespace using
lasso_node_set_custom_namespace.
add implementation comments.
|
|
|
|
|
|
|
| |
WS-Security
* lasso/xml/ws/wsse_security_header.c:
register all namespace that contains a Security header object.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/xml/xml.h lasso/xml/xml.c:
add a new public API lasso_node_set_custom_namespace(node, prefix,
href). It allows to set the precise namespace of a single object, all
other instance of the same class continue to use the default
namespace for the class.
It should be used for difficult consumer of certain nodes (like
wsse:Security) which only know certain namespace or do not use the
namespace going with the specified version of a specification (like
MSP not following ID-WSF 1.0 specification and using
http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd
instead of
http://schemas.xmlsoap.org/ws/2003/06/secext.
It also allows to share implementation of schema objects common to
many version of the same specification (wsse:Security between ID-WSF
1.0 and ID-WSF 2.0), without creating too many child classes.
|
| |
|
| |
|
|
|
|
|
|
| |
* bindings/java/lang.py:
* bindings/python/lang.py:
add guchar to list of C types everywhere.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* lasso/xml/misc_text_node.c:
* lasso/xml/misc_text_node.h:
it is often necessary to be able to put completely determined content
inside lasso generated request (for example when copying an assertion
for a Bearer authentication method). In this case you can use
lasso_node_get_original_xml_node to get at the original content and
lasso_misc_text_node_new_with_xml_node to get a LassNode with the
same content.
There are two additional function to acces this xml payload:
lasso_misc_text_node_get_xml_content and
lasso_misc_text_node_set_xml_content.
|
|
|
|
|
| |
* configure.ac:
I throwed the baby with the bathwater..
|
|
|
|
|
|
| |
* lasso/id-wsf-2.0/Makefile.am:
* lasso/xml/Makefile.am:
some files were missing from the dist files, add them.
|
|
|
|
|
|
|
| |
* configure.ac:
as ID-WSF support in SWIG in not maintained anymore we can remove the
warning about using pre-generated SWIG files with a different setting
for the --enable-wsf flag.
|
|
|
|
|
|
| |
* bindings/overrides.xml:
bindings do not support out arguments, so skip generating bindings
for lasso_data_service_get_query_item for the moment.
|
|
|
|
|
|
| |
* configure.ac:
we could have more than 99 characters long path in the dist files,
the pax format for tar archives support it.
|
|
|
|
|
|
| |
Some new functions were missing from the headers, others were deprecated
some time ago and as the API is not considered stable for ID-WSF, I
removed them definitely.
|
|
|
|
| |
* bindings/overrides.xml: skip unsupported function.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tests/integration/README:
* tests/integration/saml2/__init__.py:
If ~/.config/lasso_integration.conf exists, load it to find path to
authentic and lcs.
Add support for three environement variables:
- LASSO_BUILDDIR, to specify an out of source build directory to
test,
- NO_SILENT, to allow authentic and lcs outputs,
- VALGRIND, to check memory leaks using valgrind.
|
| |
|
|
|
|
|
|
|
|
| |
not build directory
* lasso/Makefile.am:
the place for errors.c is in the source directory, not the build
directory.
|
|
|
|
|
|
|
| |
* lasso/saml-2.0/login.c:
profile->msg_url is released before being used ;( Restore the code
copying the URL before passing it to
lasso_saml20_profile_build_http_redirect, to free it after.
|
| |
|
|
|
|
|
|
|
|
| |
saml2_evidence.h
* xml/saml-2.0/saml2_advice.h xml/saml-2.0/saml2_evidence.h:
the declaration of LassoSaml2Assertion for supposedly preventing
recursive include is useless now.
|
|
|
|
|
| |
* lasso/errors.h:
remove useless semi-colon
|
|
|
|
|
| |
* lasso/lasso.h:
include lasso/saml-2.0/assertion_query.h
|
|
|
|
|
|
|
|
|
| |
* lasso/xml/xml_idff.h:
this header file reference all id-ff 1.2 elements
* lasso/xml/xml_idwsf.h:
this header file reference all id-wsf 1.0 elements
* lasso/xml/saml-2.0/xml_saml2.h:
this header file reference all saml-2.0 elements
|
|
|
|
|
|
|
| |
* lasso/registry.h:
include of lasso.h is useless, replace by including directly export.h
* lasso/registry.c:
directly include errors.h
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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
|
|
|
|
|
| |
* lasso/Makefile.am:
errors.h is expected to be in srcdir not builddir.
|
|
|
|
|
|
|
| |
* bindings/bindings.py:
parsing of argument type is still not advanced enough, so in order to
remove spurious warnings, skip function directly during parsing just
before the treatment of function signature.
|
|
|
|
|
|
|
| |
* tests/integration/saml2/__init__.py:
to permit using build directory different from the src directory, do
not force the PYTHONPATH to be relative to src dir to find lasso
python module.
|
|
|
|
| |
* tests/integration/valgrind-wrapper.sh: remove PYTHONPATH setting.
|
|
|
|
|
| |
* tests/Makefile.am:
add integration directory to the distdir.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Makefile.am:
use new automake-1.11 silent rules if possible
move macros to m4 directory
* m4/gtk-doc.m4:
add gtk-doc macros.
* lasso/Makefile.am:
add missing -f flag to rm, to unbreak make distcheck
* docs/references/Makefile.am:
fix problem between libtool and gtk-doc
* autogen.sh:
update to autogen.sh from gtk-doc, add support for automake-1.11
|
|
|
|
|
| |
* tests/data/Makefile.am:
data file for tests2 were missing (to pass distcheck).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Use Coccinelle semantic patch tool (http://coccinelle.lip6.fr/) to
remove useless instance_init functions, the first patch applied was:
@@
type T,V;
identifier I, J;
parameter list P;
expression E1;
@@
V instance_init(T node)
{
<...
(
- E1 = 0;
|
- E1 = NULL;
|
- E1 = FALSE;
)
...>
}
It removes useless initialization to 0 (GObject already zeroes
allocated objects).
The second one is:
@ rule1 @
type T;
identifier node,fn;
@@
- static void fn(T *node) { }
@ rule2 extends rule1 @
typedef GType, GInstanceInitFunc;
identifier type_constructor;
@@
GType type_constructor()
{
<...
- (GInstanceInitFunc)fn
+ NULL
...>
}
It removes empty instance_init functions.
|
|
|
|
|
|
| |
* lasso/xml/id-wsf-2.0/sb2_target_identity.c:
* lasso/xml/id-wsf-2.0/sb2_target_identity.h:
add support for any content.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* bindings/overrides.xml:
some functions have output parameters (pointer on pointers) that are
currently not supported by our binding generator, so we skip them.
|
|
|
|
|
| |
* swig/Lasso.i:
force LASSO_WSF_ENABLED to be undefined.
|
|
|
|
|
|
|
|
| |
* tests/Makefile.am
add an SRCDIR symbol.
remove unused include paths.
* tests/tests2.c:
use SRCDIR to find data files.
|
|
|
|
|
|
|
| |
* tests/data/response-3:
this dump of a SAML message contains elements and attribute outside
the SAML schema, implementation detail from Lasso. They broke
execution of tests/tests2.
|
|
|
|
|
|
| |
* lasso/xml/saml-2.0/saml2_encrypted_element.h:
xmlSecKey is present in a function signature, so include
xmlsec/xmlsec.h.
|