Line 19... |
Line 19... |
19 |
// | You should have received a copy of the GNU Lesser General Public |
|
19 |
// | You should have received a copy of the GNU Lesser General Public |
|
20 |
// | License along with this library; if not, write to the Free Software |
|
20 |
// | License along with this library; if not, write to the Free Software |
|
21 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
21 |
// | Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
22 |
// | |
|
22 |
// | |
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
23 |
// +------------------------------------------------------------------------------------------------------+
|
24 |
// CVS : $Id: pap_initialise_auth.inc.php,v 1.6 2004-12-06 12:42:02 alex Exp $
|
24 |
// CVS : $Id: pap_initialise_auth.inc.php,v 1.7 2004-12-07 10:26:27 jpm Exp $
|
25 |
/**
|
25 |
/**
|
26 |
* Initialisation de l'authentification.
|
26 |
* Initialisation de l'authentification.
|
27 |
*
|
27 |
*
|
28 |
* Suite à la recherche des informations depuis la base de données nous initialisons
|
28 |
* Suite à la recherche des informations depuis la base de données nous initialisons
|
29 |
* l'authentification des utilisateurs si le site l'utilise.
|
29 |
* l'authentification des utilisateurs si le site l'utilise.
|
Line 35... |
Line 35... |
35 |
//Auteur original :
|
35 |
//Auteur original :
|
36 |
*@author Alexandre GRANIER <alex@tela-botanica.org>
|
36 |
*@author Alexandre GRANIER <alex@tela-botanica.org>
|
37 |
//Autres auteurs :
|
37 |
//Autres auteurs :
|
38 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
38 |
*@author Jean-Pascal MILCENT <jpm@tela-botanica.org>
|
39 |
*@copyright Tela-Botanica 2000-2004
|
39 |
*@copyright Tela-Botanica 2000-2004
|
40 |
*@version $Revision: 1.6 $ $Date: 2004-12-06 12:42:02 $
|
40 |
*@version $Revision: 1.7 $ $Date: 2004-12-07 10:26:27 $
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
41 |
// +------------------------------------------------------------------------------------------------------+
|
42 |
*/
|
42 |
*/
|
Line 43... |
Line 43... |
43 |
|
43 |
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
44 |
// +------------------------------------------------------------------------------------------------------+
|
Line 126... |
Line 126... |
126 |
$resultat = $db->query ($requete) ;
|
126 |
$resultat = $db->query ($requete) ;
|
Line 127... |
Line 127... |
127 |
|
127 |
|
128 |
}
|
128 |
}
|
Line 129... |
Line 129... |
129 |
$resultat_auth->free();
|
129 |
$resultat_auth->free();
|
130 |
|
130 |
|
131 |
for ($GLOBALS['_PAPYRUS_']['auth'] as $cle => $auth_courrante) {
|
131 |
foreach ($GLOBALS['_PAPYRUS_']['auth'] as $cle => $auth_courrante) {
|
132 |
// Nour regardons à quel type d'identification nous avons à faire:
|
132 |
// Nour regardons à quel type d'identification nous avons à faire:
|
133 |
if ($_GEN_commun['info_auth']->gsa_ce_type_auth == 1) {
|
133 |
if ($_GEN_commun['info_auth']->gsa_ce_type_auth == 1) {
|
134 |
// Authentification via une base de données
|
134 |
// Authentification via une base de données
|
Line 163... |
Line 163... |
163 |
$_GEN_commun['pear_auth']->start();
|
163 |
$_GEN_commun['pear_auth']->start();
|
164 |
}
|
164 |
}
|
Line 165... |
Line 165... |
165 |
|
165 |
|
166 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
166 |
/* +--Fin du code ---------------------------------------------------------------------------------------+
|
- |
|
167 |
* $Log: not supported by cvs2svn $
|
- |
|
168 |
* Revision 1.6 2004/12/06 12:42:02 alex
|
- |
|
169 |
* en cours
|
167 |
* $Log: not supported by cvs2svn $
|
170 |
*
|
168 |
* Revision 1.5 2004/12/06 12:12:28 jpm
|
171 |
* Revision 1.5 2004/12/06 12:12:28 jpm
|
169 |
* Début de gestion des auth multiples.
|
172 |
* Début de gestion des auth multiples.
|
170 |
*
|
173 |
*
|
171 |
* Revision 1.4 2004/10/25 16:28:47 jpm
|
174 |
* Revision 1.4 2004/10/25 16:28:47 jpm
|