Commit 6973a6e4 authored by Bertrand Gauthier's avatar Bertrand Gauthier

UtilisateurController : modif visibilité de propriétés ; utilisation du trait...

UtilisateurController : modif visibilité de propriétés ; utilisation du trait ShibServiceAwareTrait.
parent 2a3c6903
Pipeline #4099 passed with stage
in 23 seconds
......@@ -9,6 +9,7 @@ use UnicaenAuth\Entity\Ldap\People;
use UnicaenAuth\Entity\Shibboleth\ShibUser;
use UnicaenAuth\Options\ModuleOptions;
use UnicaenAuth\Service\ShibService;
use UnicaenAuth\Service\Traits\ShibServiceAwareTrait;
use UnicaenAuth\Service\Traits\UserContextServiceAwareTrait;
use UnicaenAuth\Service\UserContext;
use Zend\Authentication\AuthenticationService;
......@@ -23,6 +24,7 @@ use ZfcUser\Mapper\User as UserMapper;
class UtilisateurController extends AbstractActionController
{
use UserContextServiceAwareTrait;
use ShibServiceAwareTrait;
/**
* @var LdapPeopleMapper
......@@ -45,17 +47,12 @@ class UtilisateurController extends AbstractActionController
/**
* @var AuthenticationService
*/
private $authenticationService;
protected $authenticationService;
/**
* @var ModuleOptions
*/
private $options;
/**
* @var ShibService
*/
private $shibService;
protected $options;
/**
* @param UserMapper $userMapper
......@@ -81,14 +78,6 @@ class UtilisateurController extends AbstractActionController
$this->options = $options;
}
/**
* @param ShibService $shibService
*/
public function setShibService(ShibService $shibService)
{
$this->shibService = $shibService;
}
/**
* @param UserContext $userContextService
* @deprecated Utiliser UserContextServiceAwareTrait::setServiceUserContext() à la place, svp.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment