Project

General

Profile

Anomalie #33444

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

Added by Christophe LEON over 1 year ago. Updated about 1 year 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 1 year ago

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

#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é

Also available in: Atom PDF