Project

General

Profile

Anomalie #33444

[EDISPATCHER] Permettre l'utilisation de l'api Edispatcher si masterIdentity != SSO

Added by Christophe LEON over 2 years ago. Updated about 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
11/24/2021
Due date:
% Done:

100%

Distribution:

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

Revision 95e51c4d (diff)
Added by Arnaud FORNEROT over 2 years ago

ne plus bloquer bundle edispatcher si masteridentity != SSO (fixes #33444)

History

#1 Updated by Christophe LEON over 2 years ago

Chemin complet depuis un scribe
/var/www/html/ninegate/src/Cadoles/EdispatcherBundle/Controller/ApiController.php

#2 Updated by Arnaud FORNEROT over 2 years 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 2 years ago

  • Tracker changed from Demande to Anomalie

#4 Updated by Arnaud FORNEROT over 2 years ago

  • Status changed from Nouveau to Résolu
  • % Done changed from 0 to 100

#5 Updated by Arnaud FORNEROT over 2 years ago

  • Target version set to Envole 6.20

#6 Updated by Arnaud FORNEROT over 2 years ago

  • Target version deleted (Envole 6.20)

#7 Updated by Arnaud FORNEROT about 2 years ago

  • Target version set to Envole 6.20

#8 Updated by Arnaud FORNEROT about 2 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF