/**
  * @param UserIdentityStorage $identityStorage
  * @param $rolesSecurityInfo
  * @param string $guestUserName
  * @param bool $allowGuestAccess
  * @param string $guestServerLogin
  * @param string $guestServerPassword
  */
 public function __construct(UserIdentityStorage $identityStorage, $rolesSecurityInfo, $guestUserName, $allowGuestAccess, $guestServerLogin, $guestServerPassword)
 {
     parent::__construct($identityStorage);
     $this->rolesSecurityInfo = $rolesSecurityInfo;
     $this->guestUserName = $guestUserName;
     $this->allowGuestAccess = $allowGuestAccess;
     $this->guestServerLogin = $guestServerLogin;
     $this->guestServerPassword = $guestServerPassword;
 }
 public function __construct(UserIdentityStorage $identityStorage, ConnectionFactory $connectionFactory, $connectionOptions, $usersTable, $userNameFieldName, $userIdFieldName, UserGrantsManager $grantsManager)
 {
     parent::__construct($identityStorage);
     $this->usersTable = $usersTable;
     $this->userIdFieldName = $userIdFieldName;
     $this->userNameFieldName = $userNameFieldName;
     $this->grantsManager = $grantsManager;
     $this->dataset = new TableDataset($connectionFactory, $connectionOptions, $usersTable);
     $field = new StringField($userNameFieldName);
     $this->dataset->AddField($field, true);
     $field = new StringField($userIdFieldName);
     $this->dataset->AddField($field, false);
 }
 public function __construct(UserIdentityStorage $identityStorage, UserGrantsManager $grantsManager, $userIds)
 {
     parent::__construct($identityStorage);
     $this->grantsManager = $grantsManager;
     $this->userIds = $userIds;
 }