summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Peters <fpeters@entrouvert.com>2007-06-08 18:10:13 +0000
committerFrederic Peters <fpeters@entrouvert.com>2007-06-08 18:10:13 +0000
commit6ef47339f7a0fd61cf4f7e5e6027eaf6bdff9745 (patch)
tree12db7c34b8766af87d8ba4c121062527f4c3ded5
parent6886b79b93f1d31b3dc932e6693ea270f4c12d17 (diff)
downloadlasso-6ef47339f7a0fd61cf4f7e5e6027eaf6bdff9745.tar.gz
lasso-6ef47339f7a0fd61cf4f7e5e6027eaf6bdff9745.tar.xz
lasso-6ef47339f7a0fd61cf4f7e5e6027eaf6bdff9745.zip
recognize ID-WSF 2 disco query messages
-rw-r--r--lasso/id-ff/profile.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c
index fdb5d71c..f7b43b2e 100644
--- a/lasso/id-ff/profile.c
+++ b/lasso/id-ff/profile.c
@@ -133,7 +133,8 @@ lasso_profile_get_request_type_from_soap_msg(const gchar *soap)
} else if (strcmp(name, "AuthnRequest") == 0) {
type = LASSO_REQUEST_TYPE_LECP;
} else if (strcmp(name, "Query") == 0) {
- if (strcmp((char*)ns->href, LASSO_DISCO_HREF) == 0) {
+ if (strcmp((char*)ns->href, LASSO_DISCO_HREF) == 0 ||
+ strcmp((char*)ns->href, LASSO_IDWSF2_DISCO_HREF) == 0) {
type = LASSO_REQUEST_TYPE_DISCO_QUERY;
} else {
type = LASSO_REQUEST_TYPE_DST_QUERY;