Loading src/UnicaenAuth/Authentication/Adapter/Cas.php +10 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ use Zend\Router\RouteInterface; use Zend\Router\RouteStackInterface; use ZfcUser\Authentication\Adapter\AbstractAdapter; use ZfcUser\Authentication\Adapter\ChainableAdapter; use Zend\Authentication\Storage\Session; /** * CAS authentication adpater Loading Loading @@ -77,6 +78,15 @@ class Cas extends AbstractAdapter implements EventManagerAwareInterface $this->router = $router; } public function getStorage() { if (null === $this->storage) { $this->setStorage(new Session()); } return $this->storage; } /** * Réalise l'authentification. * Loading src/UnicaenAuth/Authentication/Adapter/Db.php +10 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ use Interop\Container\ContainerInterface; use UnicaenApp\ServiceManager\ServiceLocatorAwareInterface; use UnicaenApp\ServiceManager\ServiceLocatorAwareTrait; use UnicaenAuth\Options\ModuleOptions; use Zend\Authentication\Storage\Session; use Zend\EventManager\EventInterface; use Zend\ServiceManager\Exception\ServiceNotFoundException; Loading Loading @@ -36,6 +37,15 @@ class Db extends \ZfcUser\Authentication\Adapter\Db implements ServiceLocatorAwa return $this; } public function getStorage() { if (null === $this->storage) { $this->setStorage(new Session()); } return $this->storage; } /** * Authentification. * Loading src/UnicaenAuth/Authentication/Adapter/Ldap.php +10 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ use Zend\EventManager\EventManagerAwareInterface; use Zend\EventManager\EventManagerInterface; use ZfcUser\Authentication\Adapter\AbstractAdapter; use ZfcUser\Authentication\Adapter\ChainableAdapter; use Zend\Authentication\Storage\Session; /** * LDAP authentication adpater Loading Loading @@ -77,6 +78,15 @@ class Ldap extends AbstractAdapter implements EventManagerAwareInterface $this->appModuleOptions = $appModuleOptions; } public function getStorage() { if (null === $this->storage) { $this->setStorage(new Session()); } return $this->storage; } /** * * @param EventInterface $e Loading Loading
src/UnicaenAuth/Authentication/Adapter/Cas.php +10 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ use Zend\Router\RouteInterface; use Zend\Router\RouteStackInterface; use ZfcUser\Authentication\Adapter\AbstractAdapter; use ZfcUser\Authentication\Adapter\ChainableAdapter; use Zend\Authentication\Storage\Session; /** * CAS authentication adpater Loading Loading @@ -77,6 +78,15 @@ class Cas extends AbstractAdapter implements EventManagerAwareInterface $this->router = $router; } public function getStorage() { if (null === $this->storage) { $this->setStorage(new Session()); } return $this->storage; } /** * Réalise l'authentification. * Loading
src/UnicaenAuth/Authentication/Adapter/Db.php +10 −0 Original line number Diff line number Diff line Loading @@ -6,6 +6,7 @@ use Interop\Container\ContainerInterface; use UnicaenApp\ServiceManager\ServiceLocatorAwareInterface; use UnicaenApp\ServiceManager\ServiceLocatorAwareTrait; use UnicaenAuth\Options\ModuleOptions; use Zend\Authentication\Storage\Session; use Zend\EventManager\EventInterface; use Zend\ServiceManager\Exception\ServiceNotFoundException; Loading Loading @@ -36,6 +37,15 @@ class Db extends \ZfcUser\Authentication\Adapter\Db implements ServiceLocatorAwa return $this; } public function getStorage() { if (null === $this->storage) { $this->setStorage(new Session()); } return $this->storage; } /** * Authentification. * Loading
src/UnicaenAuth/Authentication/Adapter/Ldap.php +10 −0 Original line number Diff line number Diff line Loading @@ -16,6 +16,7 @@ use Zend\EventManager\EventManagerAwareInterface; use Zend\EventManager\EventManagerInterface; use ZfcUser\Authentication\Adapter\AbstractAdapter; use ZfcUser\Authentication\Adapter\ChainableAdapter; use Zend\Authentication\Storage\Session; /** * LDAP authentication adpater Loading Loading @@ -77,6 +78,15 @@ class Ldap extends AbstractAdapter implements EventManagerAwareInterface $this->appModuleOptions = $appModuleOptions; } public function getStorage() { if (null === $this->storage) { $this->setStorage(new Session()); } return $this->storage; } /** * * @param EventInterface $e Loading