summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-29 00:10:09 +0200
committerBenjamin Dauvergne <bdauvergne@entrouvert.com>2010-09-29 00:10:09 +0200
commitcd7b3e92c58931f21d5a45e65fc9a68a2d482074 (patch)
treedbf1dd76ba1092067594af4e8c40767ed3d0781d
parent4a970453dee42ad1cbef4505e10a3c5a9ff69f61 (diff)
downloadlasso-cd7b3e92c58931f21d5a45e65fc9a68a2d482074.tar.gz
lasso-cd7b3e92c58931f21d5a45e65fc9a68a2d482074.tar.xz
lasso-cd7b3e92c58931f21d5a45e65fc9a68a2d482074.zip
[Core] fix break of lasso_profile_get_request_type_from_soap_msg from commit b9d535625
ManageNameIDRequest is not an ID-WSF kind of request.
-rw-r--r--lasso/id-ff/profile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c
index 1ecd541d..5e9b7cb6 100644
--- a/lasso/id-ff/profile.c
+++ b/lasso/id-ff/profile.c
@@ -205,6 +205,8 @@ lasso_profile_get_request_type_from_soap_msg(const gchar *soap)
type = LASSO_REQUEST_TYPE_NAME_IDENTIFIER_MAPPING;
} else if (strcmp(name, "AuthnRequest") == 0) {
type = LASSO_REQUEST_TYPE_LECP;
+ } else if (strcmp(name, "ManageNameIDRequest") == 0) {
+ type = LASSO_REQUEST_TYPE_NAME_ID_MANAGEMENT;
#ifdef LASSO_WSF_ENABLED
} else if (strcmp(name, "Query") == 0) {
if (strcmp((char*)ns->href, LASSO_DISCO_HREF) == 0) {
@@ -222,8 +224,6 @@ lasso_profile_get_request_type_from_soap_msg(const gchar *soap)
}
} else if (strcmp(name, "SASLRequest") == 0) {
type = LASSO_REQUEST_TYPE_SASL_REQUEST;
- } else if (strcmp(name, "ManageNameIDRequest") == 0) {
- type = LASSO_REQUEST_TYPE_NAME_ID_MANAGEMENT;
} else if (strcmp(name, "SvcMDRegister") == 0) {
type = LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_REGISTER;
} else if (strcmp(name, "SvcMDAssociationAdd") == 0) {