summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2004-07-11 14:47:20 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2004-07-11 14:47:20 +0000
commit087d734a019250fa8583de3bd7799af4a7d83408 (patch)
tree1256db9f6ecbe7003e6bce6d0b44270fb2975916
parent064a0f1543fdbfed7783cbf78383f67d60a5a71e (diff)
downloadlasso-087d734a019250fa8583de3bd7799af4a7d83408.tar.gz
lasso-087d734a019250fa8583de3bd7799af4a7d83408.tar.xz
lasso-087d734a019250fa8583de3bd7799af4a7d83408.zip
*** empty log message ***
-rw-r--r--lasso/id-ff/logout.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/lasso/id-ff/logout.c b/lasso/id-ff/logout.c
index 60a0b016..48653f11 100644
--- a/lasso/id-ff/logout.c
+++ b/lasso/id-ff/logout.c
@@ -62,7 +62,6 @@ lasso_logout_build_request_msg(LassoLogout *logout)
debug(ERROR, "Single Logout Protocol profile not found\n");
return(-2);
}
- debug(DEBUG, "protocol profile : %s\n", protocolProfile);
if(xmlStrEqual(protocolProfile, lassoLibProtocolProfileSloSpSoap) || xmlStrEqual(protocolProfile, lassoLibProtocolProfileSloIdpSoap)){
debug(DEBUG, "building a soap request message\n");
@@ -93,7 +92,6 @@ lasso_logout_build_response_msg(LassoLogout *logout)
profileContext = LASSO_PROFILE_CONTEXT(logout);
- printf("remote provider id : %s\n", profileContext->remote_providerID);
provider = lasso_server_get_provider(profileContext->server, profileContext->remote_providerID);
if(provider==NULL){
debug(ERROR, "Provider %s not found\n", profileContext->remote_providerID);
@@ -177,7 +175,6 @@ lasso_logout_init_request(LassoLogout *logout,
nameQualifier,
format);
- debug(DEBUG, "Building the request message is ok\n");
return(0);
}
@@ -203,17 +200,16 @@ lasso_logout_handle_request_msg(LassoLogout *logout,
profileContext->request = lasso_logout_request_new_from_query(request_msg);
break;
case lassoHttpMethodGet:
- printf("TODO, implement the get method\n");
+ debug(WARNING, "TODO, implement the get method\n");
break;
default:
- printf("error while parsing the request\n");
+ debug(ERROR, "Unknown request method\n");
return(-1);
}
/* set the remote provider id from the request */
remote_providerID = lasso_node_get_child_content(profileContext->request, "ProviderID", NULL);
profileContext->remote_providerID = remote_providerID;
- debug(DEBUG, "build a response to %s\n", profileContext->remote_providerID);
/* set LogoutResponse */
profileContext->response = lasso_logout_response_new(lasso_provider_get_providerID(LASSO_PROVIDER(profileContext->server)),