diff options
author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-10-10 17:08:20 +0200 |
---|---|---|
committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2013-10-10 17:08:20 +0200 |
commit | 8de55e4b2a13bf77e41b2355afaef92f351f53a9 (patch) | |
tree | 0579c64f6b223dfcaad1d64d1667f8e126ab7a3f | |
parent | 618017e34e0ff6fc699c535e3a72ac48624badb9 (diff) | |
download | lasso-8de55e4b2a13bf77e41b2355afaef92f351f53a9.tar.gz lasso-8de55e4b2a13bf77e41b2355afaef92f351f53a9.tar.xz lasso-8de55e4b2a13bf77e41b2355afaef92f351f53a9.zip |
saml-2.0/profile: add warning message when unable to build an artifact response message due to an unfound artifact resolution endpoint
-rw-r--r-- | lasso/saml-2.0/profile.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lasso/saml-2.0/profile.c b/lasso/saml-2.0/profile.c index f0381ffd..c4e7f2a6 100644 --- a/lasso/saml-2.0/profile.c +++ b/lasso/saml-2.0/profile.c @@ -199,6 +199,10 @@ lasso_saml20_profile_build_artifact(LassoProvider *provider) ret = g_strdup((char*)b64_samlArt); cleanup: + if (ret == NULL) { + warning("Unable to find an artifact resolution service for entity id %s with %d", + provider->ProviderID, provider->role) + } lasso_release_string(source_succinct_id); lasso_release_xml_string(b64_samlArt); |