diff options
author | Frederic Peters <fpeters@entrouvert.com> | 2004-12-28 18:48:46 +0000 |
---|---|---|
committer | Frederic Peters <fpeters@entrouvert.com> | 2004-12-28 18:48:46 +0000 |
commit | 75abeb989cf10c4b23a3d387e969aa6475562f8c (patch) | |
tree | 8834a46b53e0c8b6f9185b5f7202bc244f5c82f9 /lasso/xml/samlp_response.c | |
parent | 775d10953619e8920b8d4f40065c35ba1f2ea98c (diff) | |
download | lasso-75abeb989cf10c4b23a3d387e969aa6475562f8c.tar.gz lasso-75abeb989cf10c4b23a3d387e969aa6475562f8c.tar.xz lasso-75abeb989cf10c4b23a3d387e969aa6475562f8c.zip |
only set samlp:Success in samlp:Response if assertion was found; fall back to
samlp:RequestDenied in other cases since there is currently no way to be more
precise.
Diffstat (limited to 'lasso/xml/samlp_response.c')
-rw-r--r-- | lasso/xml/samlp_response.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/xml/samlp_response.c b/lasso/xml/samlp_response.c index 85c31999..d2874e7c 100644 --- a/lasso/xml/samlp_response.c +++ b/lasso/xml/samlp_response.c @@ -142,7 +142,7 @@ lasso_samlp_response_new() /* Add Status */ status = LASSO_SAMLP_STATUS(lasso_samlp_status_new()); status_code = LASSO_SAMLP_STATUS_CODE(lasso_samlp_status_code_new()); - status_code->Value = LASSO_SAML_STATUS_CODE_SUCCESS; + status_code->Value = LASSO_SAML_STATUS_CODE_REQUEST_DENIED; status->StatusCode = status_code; LASSO_SAMLP_RESPONSE(response)->Status = status; |