| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
| |
of using get_xmlNode
* lasso/xml/saml-2.0/saml2_assertion.c:
assertion in lasso when read are not usable anymore because the
signature is lost, this commit allows to keep assertion unaltered
after reading them if they contained a top level signature (a
signature contained in the Assertion node).
This is useful for reusing assertion kept in a LassoSession object
and for using assertion as security token for ID-WSF.
|
|
|
|
|
| |
* lasso/xml/xml.c:
remove duplicate codes and use lasso_xmlnode_to_string instead.
|
|
|
|
|
|
|
|
| |
* lasso/xml/tools.c lasso/xml/private.h:
lots of functions duplicate this code, so we factorized it there.
It has two parameters, the xmlnode and boolean deciding whether to
format the resulting content (good for reading but bad for
signatures).
|
|
|
|
|
|
|
|
|
|
| |
* lasso/saml-2.0/profile.c:
dump for already signed assertion containing an EncryptedID as
Subject does not work as before, the decrypted NameID is no more
included in it, so instead of trying to plug it in the NameID field
we resort to really deciphering the EncryptedID.
That could be a performance problem if the session object is stuffed
with a lot of assertions.
|
| |
|
|
|
|
|
|
| |
* lasso/xml/xml.c:
if building of the node fails, we must keep the initialization of
custom nodename and namespace.
|
|
|
|
|
|
|
|
|
| |
transactionID to the URL
* lasso/id-wsf-2.0/profile.c:
simplify use of lasso_idwsf2_profile_redirect_user_for_interaction by
directly adding the ID of the SOAP response message to the URL.
Report an error if no MessageID can be found.
|
|
|
|
|
|
|
|
|
|
|
| |
lasso_soap_envelope_sb2_get_redirect_request_url
* lasso/id-wsf-2.0/soap_binding.{c,h}:
fix error in conception of
lasso_soap_envelope_sb2_get_redirect_request_url, RedirectRequest is
part of a SOAP fault not the headers.
Explain in the documentation how to use the RedirectRequest URL.
Change the return type to a const string.
|
|
|
|
|
|
| |
* lasso/id-wsf-2.0/soap_binding.{c,h}:
add method lasso_soap_envelope_get_soap_fault which returns/create
the first SOAP fault inside the body of the SOAP envelope.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
| |
* lasso/id-ff/identity.c lasso/id-ff/profile.c:
precise owner semantic of lasso_profile_get_identity,
lasso_profile_get_session, lasso_profile_get_server
* lasso/id-wsf-2.0/saml2_login.c tests/login_tests_saml2.c:
in the same vein add missing release of assertion returned by
lasso_login_get_assertion which return a caller owned object.
|
|
|
|
|
|
|
|
|
|
| |
missing redirect property on UserInteraction header
* lasso/id-wsf-2.0/profile.c:
if redirect boolean property is false, refuse to return a redirect
request.
automatically create a SOAP fault to signal to the requester that it
needs to support interaction via redirect.
|
|
|
|
|
|
|
|
| |
redirect request
* lasso/errors.c lasso/errors.h:
add
LASSO_WSF_PROFILE_ERROR_REDIRECT_REQUEST_UNSUPPORTED_BY_REQUESTER.
|
|
|
|
| |
lasso_soap_envelope_get_sb2_user_interaction_header, add it to public API
|
|
|
|
|
|
|
| |
* lasso/id-wsf-2.0/idwsf2_helper.c lasso/id-wsf-2.0/soap_binding.c
lasso/id-wsf/data_service.:
add missing check for the return value of strcmp, maybe we need a
macro like lasso_strequal.
|
| |
|
| |
|
|
|
|
|
|
| |
* lasso/xml/tools.c:
mktime convert works on local time, we need timegm to work with GMT
time.
|
| |
|
| |
|
|
|
|
| |
lasso_idwsf2_discovery_validate_md_register
|
|
|
|
|
|
| |
* lasso/id-wsf-2.0/discovery.c:
options is a string list, and security_mech_ids too, so employ the
corresponding macros.
|
| |
|
|
|
|
| |
code too
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
security token
* lasso/id-wsf-2.0/profile.c:
security token is a signed assertion by an IdP or a discovery
service, we must keep as is, that is with the signature, in order to
do that we extract the original xmlNode from the assertion and embed
it in the new message using a LassoMiscTextNode.
|
|
|
|
|
|
|
|
| |
attribute content
* lasso/id-wsf-2.0/saml2_login.c:
LassoSaml2AttributeValue can contain many children, so traverse them
all to find the firs LassoWsAddrEndpointReference among them.
|
|
|
|
|
|
|
| |
and Issuer property on bootstrap assertion.
* lasso/id-wsf-2.0/saml2_login.c:
initialization of ID and Issuer properties was missing.
|
|
|
|
|
| |
* lasso/xml/toosl.c:
verify that reference is unique if NO_SINGLE_REFERENCE is disabled.
|
|
|
|
| |
LassoServer object for issuance, lasso_saml2_assertion_get_issuer_provider
|
|
|
|
|
|
|
| |
forget to add metadata to epr, fill usage property of token
* lasso/id-wsf-2.0/idwsf2_helper.c:
add missing initialization code.
|
|
|
|
|
|
|
| |
lasso_wsa_endpoint_reference_get_idwsf2_security_context_for_security_mechanism
* lasso/id-wsf-2.0/idwsf2_helper.c:
SecurityMechID is a list of strings not LassoMiscTextNode.
|
|
|
|
|
|
|
|
|
|
| |
lasso_idwsf2_discovery_process_metadata_register_response_msg
* lasso/id-wsf-2.0/discovery.c:
fix check in
lasso_idwsf2_discovery_process_metadata_register_response_msg
fix duplication of service metadatas inside private list of service
metadatas.
|
|
|
|
|
|
|
| |
* lasso/id-ff/server.c:
constructor for LassoProvider load public keys but they are not
called by LassoServer constructors, so we have to explicitely
duplicate calls to lasso_provider_load_public_keys.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* lasso/xml/saml-2.0/saml2_strings.h:
add another field name from SAML 2.0 specifications.
|
|
|
|
|
|
|
|
| |
beginning
* lasso/xml/tools.c:
getting first parameter was broken (query_string does not contain '?'
at the beginning) and semi-colon support was missing.
|
|
|
|
| |
symbols to lasso-sections.txt
|
|
|
|
|
|
|
| |
* lasso/xml/strings.h:
remove SAML 2.0 strings
* lasso/xml/saml-2.0/saml2_strings.h:
move them here, document useful ones.
|
| |
|
|
|
|
|
|
| |
* too much warnings when generating doc, now we can concentrate on
undocumented symbols (in
lasso/docs/reference/lasso/lasso-undocumented.txt).
|
|
|
|
|
|
|
|
| |
into multiple functions
* lasso/saml-2.0/login.c:
in lasso_saml20_login_process_response_status_and_assertion, extract assertion
decryption, and issuer checking into their own function.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
separator
* lasso/xml/tools.c:
in lasso_saml2_verify_query_signature, extract needed field and order
them appropriately before computing digest, expect ';' as well as '&'
as separator.
* tests/random_test.c:
add non-regression tests for query signature validation.
* tests/Makefile.am:
make tests link agains static version of liblasso, to get access to
private functions.
|
| |
|
| |
|
|
|
|
|
| |
* lasso/saml-2.0/saml2_helper.c lasso/saml-2.0/saml2_helper.h:
add a method to access easily the InResponseTo attribute.
|