diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-08-25 15:41:55 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-08-25 15:41:55 +0200 |
| commit | fc9c2738c680370edba577689e341a0e7c87a182 (patch) | |
| tree | 14a34885a82eed557adad84701932fd6003f0011 | |
| parent | 72e581f8cfa70417477b60d0a5b4c80c475a2482 (diff) | |
| download | lasso-fc9c2738c680370edba577689e341a0e7c87a182.tar.gz lasso-fc9c2738c680370edba577689e341a0e7c87a182.tar.xz lasso-fc9c2738c680370edba577689e341a0e7c87a182.zip | |
[SAMLv2] when AuthnRequest contains invalid attributes returns INVALID_REQUEST not NO_DEFAULT_ENDPOINT
This is the right status to return.
| -rw-r--r-- | lasso/saml-2.0/login.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lasso/saml-2.0/login.c b/lasso/saml-2.0/login.c index 7b6cf3c7..e0582559 100644 --- a/lasso/saml-2.0/login.c +++ b/lasso/saml-2.0/login.c @@ -310,7 +310,7 @@ lasso_saml20_login_process_authn_request_msg(LassoLogin *login, const char *auth (authn_request->AssertionConsumerServiceURL != NULL)) && (authn_request->AssertionConsumerServiceIndex != -1)) { - rc = LASSO_LOGIN_ERROR_NO_DEFAULT_ENDPOINT; + rc = LASSO_PROFILE_ERROR_INVALID_REQUEST; goto cleanup; } |
