diff options
| author | Christophe Nowicki <cnowicki@easter-eggs.com> | 2004-09-23 16:00:54 +0000 |
|---|---|---|
| committer | Christophe Nowicki <cnowicki@easter-eggs.com> | 2004-09-23 16:00:54 +0000 |
| commit | f94170a65c5585a2c955d14360becd3e2ca98ac2 (patch) | |
| tree | 925f029ba25f31676fa92ca40113660c6423c5b5 /php/Attic/examples/sample-idp/singleSignOn.php | |
| parent | 662764422bbf1b01decc01d414a7ab9d0db63958 (diff) | |
| download | lasso-f94170a65c5585a2c955d14360becd3e2ca98ac2.tar.gz lasso-f94170a65c5585a2c955d14360becd3e2ca98ac2.tar.xz lasso-f94170a65c5585a2c955d14360becd3e2ca98ac2.zip | |
Group misc functions into misc.php on the idp and sp
Add Federation Terminaison metadata on the idp and sp
Add view off federation on the sp
Add cancel federation button on the sp and idp
Defederation is not working yet
Diffstat (limited to 'php/Attic/examples/sample-idp/singleSignOn.php')
| -rw-r--r-- | php/Attic/examples/sample-idp/singleSignOn.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/php/Attic/examples/sample-idp/singleSignOn.php b/php/Attic/examples/sample-idp/singleSignOn.php index 3ecf4795..2a30c7d6 100644 --- a/php/Attic/examples/sample-idp/singleSignOn.php +++ b/php/Attic/examples/sample-idp/singleSignOn.php @@ -108,16 +108,10 @@ $is_first_sso = (isset($array['identity_dump']) ? FALSE : TRUE); if (!$is_first_sso) - { $login->setIdentityFromDump($array['identity_dump']); - $logger->log("Update Identity dump for user '$user_id' :" . $array['identity_dump'], PEAR_LOG_DEBUG); - } if (!empty($array['session_dump'])) - { $login->setSessionFromDump($array['session_dump']); - $logger->log("Update Session dump for user '$user_id' :" . $array['session_dump'], PEAR_LOG_DEBUG); - } doneSingleSignOn($db, $login, $user_id, $is_first_sso); } @@ -166,7 +160,7 @@ if (DB::isError($res)) { $logger->log("DB Error :" . $res->getMessage(), PEAR_LOG_CRIT); - $logger->log("DB Error :" . $db->getDebugInfo(), PEAR_LOG_DEBUG); + $logger->log("DB Error :" . $res->getDebugInfo(), PEAR_LOG_DEBUG); die("Internal Server Error"); } $logger->log("Update user '$user_id' identity dump in the database : $identity_dump", PEAR_LOG_DEBUG); |
