diff --git a/endpoints/saml2.php b/endpoints/saml2.php index 1c79d8b..0866da2 100644 --- a/endpoints/saml2.php +++ b/endpoints/saml2.php @@ -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)); + } + } }