diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-12-17 13:57:47 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-12-17 13:57:47 +0000 |
commit | 195ff4064ed680af7556f7125650f32f9977b4fe (patch) | |
tree | e10889494ad3316db0281861f9281b7c0afcb11a /lasso/id-ff/login.c | |
parent | 83322cf752a34f4b4fa0579185c7d4903dd488ca (diff) | |
download | lasso-195ff4064ed680af7556f7125650f32f9977b4fe.tar.gz lasso-195ff4064ed680af7556f7125650f32f9977b4fe.tar.xz lasso-195ff4064ed680af7556f7125650f32f9977b4fe.zip |
<samlp:Status> created by Lasso should now be compatible with SAML
requirements [SAMLCore11].
[SAMLCore11] Maler, Eve, Mishra, Prateek, Philpott, Rob, eds. (27 May 2003).
"Assertions and Protocol for the OASIS Security Assertion Markup Language
(SAML) V1.1," OASIS Committee Specification, version 1.1, Organization for the
Advancement of Structured Information Standards
Diffstat (limited to 'lasso/id-ff/login.c')
-rw-r--r-- | lasso/id-ff/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/id-ff/login.c b/lasso/id-ff/login.c index f1529c39..4f8841d6 100644 --- a/lasso/id-ff/login.c +++ b/lasso/id-ff/login.c @@ -472,7 +472,6 @@ lasso_login_build_artifact_msg(LassoLogin *login, lassoHttpMethod http_method) /* build artifact infos */ remote_provider = g_hash_table_lookup(LASSO_PROFILE(login)->server->providers, LASSO_PROFILE(login)->remote_providerID); - /* liberty-idff-bindings-profiles-v1.2.pdf p.25 */ url = lasso_provider_get_metadata_one(remote_provider, "AssertionConsumerServiceURL"); if (url == NULL) { return critical_error(LASSO_PROFILE_ERROR_UNKNOWN_PROFILE_URL); @@ -480,6 +479,7 @@ lasso_login_build_artifact_msg(LassoLogin *login, lassoHttpMethod http_method) identityProviderSuccinctID = lasso_sha1( LASSO_PROVIDER(LASSO_PROFILE(login)->server)->ProviderID); + /* Artifact Format is described in "Binding Profiles", 3.2.2.2. */ memcpy(samlArt, "\000\003", 2); /* type code */ memcpy(samlArt+2, identityProviderSuccinctID, 20); lasso_build_random_sequence(samlArt+22, 20); |