Projet

Général

Profil

Archive #1604

CAS-ification d'une application pour le PIA

Ajouté par Vincent Fulgence il y a environ 13 ans. Mis à jour il y a plus de 8 ans.

Statut:
Pas un bug
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
-
Début:
29/03/2011
Echéance:
% réalisé:

100%

Distribution:

Description

[J'ai posté cette demande par erreur sur "Scribe"]

Bonjour,

Je suis en train (d'essayer) de CAS-ifier une des applications de la DAAEFOP afin de l'intégrer au PIA, pour éviter la double authentification.

Je coince actuellement sur la méthode getDetails(), que j'appelle de la manière suivante :

@phpCAS::client(CAS_VERSION_2_0, SERVER_SSO, PORT_SSO, "", false);

if(method_exists(eolephpCAS, 'setNoCasServerValidation'))
eolephpCAS::setNoCasServerValidation();

if(__CAS_LOGOUT)
if(method_exists(phpCAS, 'logoutRequests'))
phpCAS::logoutRequests(false);

if(eolephpCAS::forceAuthentication()) {
$user_id = eolephpCAS::getUser();
$user_details = eolephpCAS::getDetails();@

La méthode getUser() me renvoie bien l'uid de l'utilisateur, mais la méthode getDetails() échoue et j'obtiens invariablement le message d'erreur suivant : Fatal error: Call to undefined method CASClient::getDetails() in /var/www/daaefop-test/CAS/eoleCAS.php on line 122. Pourtant, cette méthode figure bien dans le fichier eoleCAS.php.

Pourriez-vous m'aider à résoudre ce problème ?

Merci.

Révisions associées

Révision eda0819a (diff)
Ajouté par tomolimo il y a environ 7 ans

changed way of matching groups in LDAP for users (#1606)

  • changed way of matching groups in LDAP for users
    Fixes #1604
  • Fixed CS

Fixed CS

Révision ccb356cc (diff)
Ajouté par tomolimo il y a environ 7 ans

changed way of matching groups in LDAP for users (#1606)

  • changed way of matching groups in LDAP for users
    Fixes #1604
  • Fixed CS

Fixed CS

Historique

#1 Mis à jour par Joël Cuissinat il y a environ 13 ans

  • Assigné à mis à Bruno Boiget

#2 Mis à jour par Joël Cuissinat il y a presque 13 ans

  • Statut changé de Nouveau à Pas un bug

Vu directement avec Vincent

#3 Mis à jour par Gérald Schwartzmann il y a environ 12 ans

  • % réalisé changé de 0 à 100

#4 Mis à jour par Redmine Admin il y a plus de 8 ans

  • Tracker changé de Assistance à Archive

Formats disponibles : Atom PDF