Subversion Repositories Applications.papyrus

Compare Revisions

Ignore whitespace Rev 1174 → Rev 1175

/trunk/papyrus/pap_initialise_auth.inc.php
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.23 2006-12-14 15:01:05 jp_milcent Exp $
// CVS : $Id: pap_initialise_auth.inc.php,v 1.24 2006-12-14 15:25:22 jp_milcent 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.23 $ $Date: 2006-12-14 15:01:05 $
*@version $Revision: 1.24 $ $Date: 2006-12-14 15:25:22 $
// +------------------------------------------------------------------------------------------------------+
*/
 
62,6 → 62,7
// +------------------------------------------------------------------------------------------------------+
// Gestion de l'identification des utilisateurs et des sessions
 
 
// +------------------------------------------------------------------------------------------------------+
// Récupération des informations d'identification pour le site courant
 
160,6 → 161,11
}
$resultat_auth->free();
 
// +------------------------------------------------------------------------------------------------------+
// Définition du nom de la session
session_name(PAP_AUTH_SESSION_PREFIXE.$GLOBALS['_GEN_commun']['info_auth']->gsa_abreviation);
 
// +------------------------------------------------------------------------------------------------------+
// Nour regardons à quel type d'identification nous avons à faire:
$auth_courante = $GLOBALS['_PAPYRUS_']['auth'][$GLOBALS['_GEN_commun']['info_site']->gs_ce_auth] ;
if ($auth_courante['gsa_ce_type_auth'] == 1) {
188,16 → 194,19
}
 
// +------------------------------------------------------------------------------------------------------+
// Définition du nom de la session
session_name(PAP_AUTH_SESSION_PREFIXE.$GLOBALS['_GEN_commun']['info_auth']->gsa_abreviation);
$GLOBALS['_GEN_commun']['pear_auth']->setSessionName(session_name());
// Nous allouons le niveau de sécurité
$GLOBALS['_GEN_commun']['pear_auth']->setAdvancedSecurity(PAP_AUTH_SECURITE_AVANCEE);
 
// +------------------------------------------------------------------------------------------------------+
// Démarage de la session
$GLOBALS['_GEN_commun']['pear_auth']->start();
 
/* +--Fin du code ---------------------------------------------------------------------------------------+
* $Log: not supported by cvs2svn $
* Revision 1.23 2006/12/14 15:01:05 jp_milcent
* Utilisation d'un système permettant de mémoriser les idenitifications.
* Passage à Auth 1.4.3 et DB 1.7.6.
*
* Revision 1.22 2006/11/20 17:29:42 jp_milcent
* Suppression du code de gestion de l'identification Spip et Wikini car non fonctionnel et finalement géré dans les appli tierces.
*