21,7 → 21,7 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA | |
// | | |
// +------------------------------------------------------------------------------------------------------+ |
// CVS : $Id: pap_initialise_auth.inc.php,v 1.18 2005-07-07 09:15:36 alexandre_tb Exp $ |
// CVS : $Id: pap_initialise_auth.inc.php,v 1.19 2005-09-20 17:01:22 ddelon Exp $ |
/** |
* Initialisation de l'authentification. |
* |
37,7 → 37,7 |
//Autres auteurs : |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org> |
*@copyright Tela-Botanica 2000-2004 |
*@version $Revision: 1.18 $ $Date: 2005-07-07 09:15:36 $ |
*@version $Revision: 1.19 $ $Date: 2005-09-20 17:01:22 $ |
// +------------------------------------------------------------------------------------------------------+ |
*/ |
|
82,6 → 82,7 |
$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth]['gsa_abreviation'] = $ligne_auth->gsa_abreviation; |
$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth]['gsa_ce_type_auth'] = $ligne_auth->gsa_ce_type_auth; |
|
|
if ($ligne_auth->gsa_id_auth == $GLOBALS['_GEN_commun']['info_site']->gs_ce_auth) { |
$GLOBALS['_GEN_commun']['info_auth'] = $ligne_auth; |
} |
110,7 → 111,8 |
} |
} |
} |
$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth] = array_merge($GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth], $tab_auth_bdd); |
|
$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth] = array_merge((array)$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth], (array) $tab_auth_bdd); |
$resultat_auth_bdd->free(); |
} else if ($ligne_auth->gsa_ce_auth_ldap != 0) { |
//Identification via LDAP : |
126,7 → 128,7 |
if ($ligne_auth->gsa_id_auth == $_GEN_commun['info_site']->gs_ce_auth) { |
$GLOBALS['_GEN_commun']['info_auth_ldap'] = $tab_auth_ldap; |
} |
$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth] = array_merge($GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth], $tab_auth_ldap); |
$GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth] = array_merge((array) $GLOBALS['_PAPYRUS_']['auth'][$ligne_auth->gsa_id_auth], (array) $tab_auth_ldap); |
$resultat_auth_ldap->free(); |
} else { |
die('ERREUR Papyrus : impossible de trouver les information authentification. <br />'. |
308,6 → 310,10 |
|
/* +--Fin du code ---------------------------------------------------------------------------------------+ |
* $Log: not supported by cvs2svn $ |
* Revision 1.18 2005/07/07 09:15:36 alexandre_tb |
* mise en place de la co-authentification Wikini - papyrus. |
* - ajout d'une requete pour récupérer le mot de passe |
* |
* Revision 1.17 2005/04/27 15:06:21 alex |
* ajout de l'authentification wiki. |
* |