/**
  * @return boolean
  */
 public function init()
 {
     // extbase bootstrap
     $this->objectManager = GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager');
     $this->typoScriptService = $this->objectManager->get('AP\\ApLdapAuth\\Sv\\TypoScriptService');
     $this->initializeRequiredTsfeParts();
     $this->initializeExtbaseFramework();
     $this->initTCA();
     return parent::init();
 }
 /**
  * Checks if service is available. In case of this service we check that
  * following prerequesties are fulfilled:
  * - loginSecurityLevel of according TYPO3_MODE is set to normal
  *
  * @return bool TRUE if service is available
  */
 public function init()
 {
     $available = false;
     $mode = TYPO3_MODE;
     if ($this->info['requestedServiceSubType'] === 'authUserBE') {
         $mode = 'BE';
     } elseif ($this->info['requestedServiceSubType'] === 'authUserFE') {
         $mode = 'FE';
     }
     if (\TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::isUsageEnabled($mode)) {
         $available = true;
         $this->extConf = \TYPO3\CMS\Saltedpasswords\Utility\SaltedPasswordsUtility::returnExtConf();
     }
     return $available ? parent::init() : false;
 }
 public function init()
 {
     $this->objectManager = GeneralUtility::makeInstance(ObjectManager::class);
     $this->signalSlotDispatcher = GeneralUtility::makeInstance(Dispatcher::class);
     $this->extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['px_hybrid_auth']);
     $this->db = $this->getDatabaseConnection();
     return parent::init();
 }
 public function init()
 {
     $this->extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['px_ipauth']);
     return parent::init();
 }
 public function init()
 {
     $this->objectManager = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager');
     $this->signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
     $this->extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['px_hybrid_auth']);
     $this->db = $this->getDatabaseConnection();
     return parent::init();
 }
 /**
  * @return bool
  */
 public function init()
 {
     $this->objectManager = GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager');
     $this->signalSlotDispatcher = GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher');
     $this->extConfig = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['social_auth']);
     $request = GeneralUtility::_GP('tx_socialauth_pi1');
     $this->provider = htmlspecialchars($request['provider']);
     return parent::init();
 }