Anomalie #33444
[EDISPATCHER] Permettre l'utilisation de l'api Edispatcher si masterIdentity != SSO
100%
Description
Remplacer le code , qui gère la session /api/edispatcher
$masteridentity=$this->getParameter("masteridentity");
if($masteridentity!="SSO") {
$output["error"]="Le bundle Edispatcher ne fonctionne qu'en mode MasterIdentity=SSO";
return new Response(json_encode($output), 400);
}
Par
$modeauth=$this->getParameter("mode_auth");
if($modeauth!="CAS") {
$output["error"]="Le bundle Edispatcher ne fonctionne qu'en mode mode_auth=CAS";
return new Response(json_encode($output), 400);
}
Associated revisions
ne plus bloquer bundle edispatcher si masteridentity != SSO (fixes #33444)
History
#1 Updated by Christophe LEON over 1 year ago
Chemin complet depuis un scribe
/var/www/html/ninegate/src/Cadoles/EdispatcherBundle/Controller/ApiController.php
#2 Updated by Arnaud FORNEROT over 1 year ago
Il n' y a pas de raison de bloquer le bundle si master_identity est différent de SSO
Il faut le bloquer uniquement si le mode d'authentification est différent de CAS
#3 Updated by Arnaud FORNEROT over 1 year ago
- Tracker changed from Demande to Anomalie
#4 Updated by Arnaud FORNEROT over 1 year ago
- Status changed from Nouveau to Résolu
- % Done changed from 0 to 100
Appliqué par commit 95e51c4d536c6b12c5c65a8a739ddb836a0c36fc.
#5 Updated by Arnaud FORNEROT over 1 year ago
- Target version set to Envole 6.20
#6 Updated by Arnaud FORNEROT about 1 year ago
- Target version deleted (
Envole 6.20)
#7 Updated by Arnaud FORNEROT about 1 year ago
- Target version set to Envole 6.20
#8 Updated by Arnaud FORNEROT about 1 year ago
- Status changed from Résolu to Fermé