public function __construct(\DibiConnection $dbConnection, IIdentityFactory $identityFactory, Nette\DI\Container $context)
 {
     parent::__construct($identityFactory);
     $this->db = $dbConnection;
     $sessionSection = $context->session->getSection(strtr(__CLASS__, '\\', '.'));
     $this->sessionCache =& $sessionSection->sessionCache;
     if ($this->sessionCache == NULL) {
         $this->sessionCache = new \StdClass();
     }
 }
 public function __construct(IIdentityFactory $identityFactory, LdapConnection $ldapConnection)
 {
     $this->ldapConnection = $ldapConnection;
     parent::__construct($identityFactory);
 }
 public function __construct(IPasswordHasher $hasher, IIdentityFactory $identityFactory)
 {
     parent::__construct($identityFactory);
     $this->passwordHasher = $hasher;
 }