diff options
| author | Nicolas Clapies <nclapies@entrouvert.com> | 2004-07-20 10:34:08 +0000 |
|---|---|---|
| committer | Nicolas Clapies <nclapies@entrouvert.com> | 2004-07-20 10:34:08 +0000 |
| commit | ff57e03478b2d6460aa2c60110ddfd976c21ca00 (patch) | |
| tree | b39bc276526a410874592fd04aba3ded71319736 | |
| parent | 5c81c45e50c627f9c4bbfbbd5f6a99f49dfe5439 (diff) | |
| download | lasso-ff57e03478b2d6460aa2c60110ddfd976c21ca00.tar.gz lasso-ff57e03478b2d6460aa2c60110ddfd976c21ca00.tar.xz lasso-ff57e03478b2d6460aa2c60110ddfd976c21ca00.zip | |
*** empty log message ***
| -rw-r--r-- | lasso/id-ff/logout.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lasso/id-ff/logout.c b/lasso/id-ff/logout.c index 6f282758..aee2c110 100644 --- a/lasso/id-ff/logout.c +++ b/lasso/id-ff/logout.c @@ -160,8 +160,13 @@ lasso_logout_init_request(LassoLogout *logout, profileContext = LASSO_PROFILE_CONTEXT(logout); - if(){ - profileContext->remote_providerID = remote_providerID; + if(remote_providerID==NULL){ + debug(INFO, "No remote provider id, get the issuer of the first authentication assertion\n"); + profileContext->remote_providerID = lasso_user_get_next_providerID(profileContext->user); + } + else{ + debug(INFO, "A remote provider id : %s\n", remote_providerID); + profileContext->remote_providerID = g_strdup(remote_providerID); } /* get identity */ |
