diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-09 01:09:28 +0200 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2010-09-09 01:09:28 +0200 |
| commit | b9d53562593cbf2ba47c8869f8c3b9dc37a4ae1f (patch) | |
| tree | 66a3783aee28154821ec8fc2d81478344fd71c75 /lasso/id-ff/profile.c | |
| parent | 8082428d8007e4c712de453b26af7ff7e01771e1 (diff) | |
| download | lasso-b9d53562593cbf2ba47c8869f8c3b9dc37a4ae1f.tar.gz lasso-b9d53562593cbf2ba47c8869f8c3b9dc37a4ae1f.tar.xz lasso-b9d53562593cbf2ba47c8869f8c3b9dc37a4ae1f.zip | |
[ID-WSFv1&ID-WSFv2] separate better strings for ID-WSF from other strings
Code in core source file which depend upon ID-WSF symbols have been
conditionalized, and each id-wsf source file now include directly its
need string header.
Diffstat (limited to 'lasso/id-ff/profile.c')
| -rw-r--r-- | lasso/id-ff/profile.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lasso/id-ff/profile.c b/lasso/id-ff/profile.c index 549e803c..1ecd541d 100644 --- a/lasso/id-ff/profile.c +++ b/lasso/id-ff/profile.c @@ -49,6 +49,10 @@ #include "../xml/soap-1.1/soap_fault.h" #include "../utils.h" #include "../debug.h" +#ifdef LASSO_WSF_ENABLED +#include "../xml/idwsf_strings.h" +#include "../xml/id-wsf-2.0/idwsf2_strings.h" +#endif /*****************************************************************************/ /* public functions */ @@ -201,6 +205,7 @@ 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; +#ifdef LASSO_WSF_ENABLED } else if (strcmp(name, "Query") == 0) { if (strcmp((char*)ns->href, LASSO_DISCO_HREF) == 0) { type = LASSO_REQUEST_TYPE_DISCO_QUERY; @@ -223,6 +228,7 @@ lasso_profile_get_request_type_from_soap_msg(const gchar *soap) type = LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_REGISTER; } else if (strcmp(name, "SvcMDAssociationAdd") == 0) { type = LASSO_REQUEST_TYPE_IDWSF2_DISCO_SVCMD_ASSOCIATION_ADD; +#endif } else { message(G_LOG_LEVEL_WARNING, "Unknown node name : %s", name); } |
