Subversion Repositories eFlore/Applications.cel

Rev

Rev 586 | Rev 717 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 586 Rev 698
Line 172... Line 172...
172
    
172
    
173
	protected function etreUtilisateurAutorise() {
173
	protected function etreUtilisateurAutorise() {
174
		$identifiant = $this->getAuthIdentifiant();
174
		$identifiant = $this->getAuthIdentifiant();
175
		$mdp = md5($this->getAuthMotDePasse());
175
		$mdp = md5($this->getAuthMotDePasse());
176
		$url = sprintf($this->config['authentification']['serviceUrlTpl'], $identifiant, $mdp);
176
		$url = sprintf($this->config['authentification']['serviceUrlTpl'], $identifiant, $mdp);
177
		$json = $this->getDao()->envoyerRequeteConsultation($url);
177
		$json = $this->getDao()->consulter($url);
Line 178... Line 178...
178
		$existe = json_decode($json);
178
		$existe = json_decode($json);
179
		
179
		
180
		$autorisation = (isset($existe) && $existe) ? true :false;
180
		$autorisation = (isset($existe) && $existe) ? true :false;