add exemple defederation handling

This commit is contained in:
<bdauvergne@entrouvert.com> 1210078028 +0200 0001-01-01 00:00:00 +00:00
parent 149dc25cdb
commit 1d9f9d80b7
1 changed files with 13 additions and 0 deletions

View File

@ -39,6 +39,19 @@ class MyEndPoint extends LassoSPKitSaml2Endpoint {
lassospkit_errlog("Demande de slo réussie: $ret");
}
}
function nameIdManagementBrws() {
$ret = parent::nameIdManagementBrws();
$this->handleNid($ret);
}
function nameIdManagementSoap() {
$ret = parent::nameIdManagementSoap();
$this->handleNid($ret);
}
function handleNid($ret) {
if ($ret) {
error_log('Erreur lors du nid: ' . $ret . ': ' . strError($ret));
}
}
}