<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } $TYPO3_CONF_VARS['FE']['eID_include']['cicregister-getUsername'] = '******'; \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'Create', array('FrontendUser' => 'new,create,edit,update,createConfirmation,createConfirmationMustValidate,validateUser', 'FrontendUserJSON' => 'create,edit,update,createConfirmation,createConfirmationMustValidate,validateUser'), array('FrontendUser' => 'new,create,edit,update,createConfirmation,createConfirmationMustValidate,validateUser', 'FrontendUserJSON' => 'create,edit,update,createConfirmation,createConfirmationMustValidate,validateUser')); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'Login', array('Login' => 'dispatch, login, forgotPassword, handleForgotPassword, resetPassword, handleResetPassword'), array('Login' => 'dispatch, login, logout, forgotPassword, handleForgotPassword, resetPassword, handleResetPassword')); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'Enroll', array('FrontendUser' => 'enroll,saveEnrollment'), array('FrontendUser' => 'enroll,saveEnrollment')); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'Button', array('FrontendUser' => 'button,create'), array('FrontendUser' => '')); \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('CIC.Cicregister', 'ValidateEmail', array('FrontendUser' => 'sendValidationEmail,validateUser'), array('FrontendUser' => 'sendValidationEmail,validateUser')); require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/Authentication.php'; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'CIC\\Cicregister\\Service\\Authentication', array('title' => 'Cicregister Authentication', 'description' => 'Frontend authentication service', 'subtype' => 'getUserFE,authUserFE,getGroupsFE', 'available' => TRUE, 'priority' => 100, 'quality' => 100, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/Authentication.php', 'className' => 'CIC\\Cicregister\\Service\\Authentication'));
if (!defined('TYPO3_MODE')) { die('Access denied.'); } $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTask'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/reports/locallang.xlf:status_updateTaskTitle', 'description' => 'LLL:EXT:' . $_EXTKEY . '/reports/locallang.xlf:status_updateTaskDescription', 'additionalFields' => 'TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTaskNotificationEmailField'); $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages']['tx_reports_WarningMessagePostProcessor'] = 'TYPO3\\CMS\\Reports\\Report\\Status\\WarningMessagePostProcessor'; /** * Extension: rsaauth * File: C:/xampp/htdocs/typo3_6.2.14/typo3/sysext/rsaauth/ext_localconf.php */ $_EXTKEY = 'rsaauth'; $_EXTCONF = $GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$_EXTKEY]; if (!defined('TYPO3_MODE')) { die('Access denied.'); } // Add the service \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'TYPO3\\CMS\\Rsaauth\\RsaAuthService', array('title' => 'RSA authentication', 'description' => 'Authenticates users by using encrypted passwords', 'subtype' => 'processLoginDataBE,processLoginDataFE', 'available' => TRUE, 'priority' => 60, 'quality' => 60, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Rsaauth\\RsaAuthService')); // Add a hook to the BE login form $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\Hook\\LoginFormHook->getLoginFormTag'; // Add hook for user setup module $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['setupScriptHook'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\Hook\\UserSetupHook->getLoginScripts'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['modifyUserDataBeforeSave'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\Hook\\UserSetupHook->decryptPassword'; // Add a hook to the FE login form (felogin system extension) $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\Hook\\FrontendLoginHook->loginFormHook'; // Add a hook to show Backend warnings $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'][$_EXTKEY] = 'TYPO3\\CMS\\Rsaauth\\BackendWarnings'; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::registerAjaxHandler('BackendLogin::getRsaPublicKey', 'TYPO3\\CMS\\Rsaauth\\Backend\\AjaxLoginHandler->getRsaPublicKey', FALSE); // eID for FrontendLoginRsaPublicKey $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['FrontendLoginRsaPublicKey'] = 'EXT:rsaauth/resources/Private/Php/FrontendLoginRsaPublicKey.php'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/backend.php']['constructPostProcess'][] = 'TYPO3\\CMS\\Rsaauth\\Hook\\BackendHookForAjaxLogin->addRsaJsLibraries'; /** * Extension: rtehtmlarea
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Snowflake\\Sfpipauth\\Service\\IpAuthenticationService', array('title' => 'IP-Auth FE-User', 'description' => 'Authenticates FE-Users/groups via IP', 'subtype' => 'authUserFE,getUserFE', 'available' => TRUE, 'priority' => 75, 'quality' => 75, 'os' => '', 'exec' => '', 'className' => 'Snowflake\\Sfpipauth\\Service\\IpAuthenticationService')); // Extension Configuration $extensionConfiguration = unserialize($_EXTCONF); $GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_fetchUserIfNoSession'] = isset($extensionConfiguration['fetchUserIfNoSession']) ? $extensionConfiguration['fetchUserIfNoSession'] : 1; // User TS Config \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('options.saveDocNew.tx_sfpipauth_ipconfiguration=1');
<?php defined('TYPO3_MODE') or die; // Register base authentication service \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService('sv', 'auth', \TYPO3\CMS\Sv\AuthenticationService::class, array('title' => 'User authentication', 'description' => 'Authentication with username/password.', 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE', 'available' => true, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => \TYPO3\CMS\Sv\AuthenticationService::class));
\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_default_searchlocation', array('title' => 'Default Search View', 'description' => '', 'subtype' => 'search', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\SearchViews')); /* Default search service */ \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_default_searchorganizer', array('title' => 'Default Search View', 'description' => '', 'subtype' => 'search', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\SearchViews')); /* Default notification service */ \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_default_notification', array('title' => 'Default notification service', 'description' => '', 'subtype' => 'notify', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\NotificationView')); /* Default reminder service */ \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_default_reminder', array('title' => 'Default reminder service', 'description' => '', 'subtype' => 'remind', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\ReminderView')); /* Default rights service */ \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_rights_model', 'tx_cal_rights', array('title' => 'Default rights service', 'description' => '', 'subtype' => 'rights', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\Service\\RightsService')); // Example for a module \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'TEST', 'tx_cal_module', array('title' => 'Test module', 'description' => '', 'subtype' => 'module', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\Module\\Example')); // Example for a module \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'LOCATIONLOADER', 'tx_cal_module', array('title' => 'Location loader module', 'description' => '', 'subtype' => 'module', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\Module\\LocationLoader')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'ORGANIZERLOADER', 'tx_cal_module', array('title' => 'Organizer loader module', 'description' => '', 'subtype' => 'module', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\Module\\OrganizerLoader')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_cal_subscription', array('title' => 'Subscription Manager', 'description' => '', 'subtype' => 'subscription', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\SubscriptionManagerView')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'cal_view', 'tx_cal_meeting', array('title' => 'Meeting Manager', 'description' => '', 'subtype' => 'meeting', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Cal\\View\\MeetingManagerView')); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass']['tx_cal'] = 'TYPO3\\CMS\\Cal\\Hooks\\TceMainProcessdatamap'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processCmdmapClass']['tx_cal'] = 'TYPO3\\CMS\\Cal\\Hooks\\TceMainProcesscmdmap'; if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_version) >= 7005000) { \TYPO3\CMS\Cal\Backend\Form\FormDateDataProvider::register(); } else { if (\TYPO3\CMS\Core\Utility\VersionNumberUtility::convertVersionNumberToInteger(TYPO3_version) >= 7001000) { \TYPO3\CMS\Cal\Slot\FormDataPreprocessorSlot::register(); } else { $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tceforms.php']['getMainFieldsClass']['tx_cal'] = 'TYPO3\\CMS\\Cal\\Hooks\\TceFormsGetmainfields'; } } $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_content.php']['typolinkLinkHandler']['calendar'] = 'TYPO3\\CMS\\Cal\\Hooks\\EventLinkHandler'; $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tx_wecmap_pi3']['markerHook']['cal'] = 'TYPO3\\CMS\\Cal\\Hooks\\WecMap:&WecMap->getMarkerContent'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals']['tx_cal_dateeval'] = 'TYPO3\\CMS\\Cal\\Hooks\\DateEval'; // $GLOBALS ['TYPO3_CONF_VARS'] ['EXTCONF'] ['felogin'] ['loginFormOnSubmitFuncs'] [] = 'TYPO3\\CMS\\Cal\\Hooks\\LogoffPostProcessing:LogoffPostProcessing->clearSessionApiAfterLogoff';
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', '\\Portrino\\PxIpauth\\Service\\IpAuthenticationService', array('title' => 'Automatic BE login by IP', 'description' => 'Login a backend user automatically if one is found with the right IP configured.', 'subtype' => 'getUserBE, authUserBE', 'available' => TRUE, 'priority' => 60, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => '\\Portrino\\PxIpauth\\Service\\IpAuthenticationService'));
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } if (TYPO3_MODE == 'BE') { if (isset($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers']) == false) { $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'] = array(); } $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['extbase']['commandControllers'][] = 'Aoe\\FeloginBruteforceProtection\\Command\\CleanUpCommandController'; } if (TYPO3_MODE == 'FE') { // postUserLookUp hookC $TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['postUserLookUp'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/UserAuth/PostUserLookUp.php:' . '\\Aoe\\FeloginBruteforceProtection\\Hooks\\UserAuth\\PostUserLookUp->handlePostUserLookUp'; // postProcContent hook for fe_login #$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['postProcContent'][] = # 'EXT:' . $_EXTKEY . # '/Classes/Hooks/FeLogin/PostProcContent.php:Aoe\\FeloginBruteforceProtection\\Hook\\FeLogin\\PostProcContent->handlePostProcContent'; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', '\\Aoe\\FeloginBruteforceProtection\\Service\\AuthUser', array('title' => 'brute force protection', 'description' => 'brute force protection for system extension felogin', 'subtype' => 'authUserFE,getUserFE', 'available' => true, 'priority' => 100, 'quality' => 100, 'os' => '', 'exec' => '', 'className' => '\\Aoe\\FeloginBruteforceProtection\\Service\\AuthUser')); }
/** * @param string $extKey * @param string $path * @param string $key * @param string $title * @param string $description */ public static function registerNotificationExitPoint($extKey, $path, $key, $title, $description = '') { if (!$GLOBALS['T3_SERVICES']['caretaker_exitpoint'][$key]) { // Register test service \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService('caretaker', 'caretaker_exitpoint', $key, array('title' => $title, 'description' => $description, 'subtype' => $key, 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($extKey) . $path . '/class.' . $key . 'ExitPoint.php', 'className' => $key . 'ExitPoint')); self::$tcaExitPointServiceItems[] = array($title, $key); self::$tcaExitPointConfigDs[$key] = 'FILE:EXT:' . $extKey . '/' . $path . '/' . 'ds.' . $key . 'ExitPoint.xml'; } }
<?php $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['crawler'] = array('EXT:crawler/cli/crawler_cli.php', '_CLI_crawler'); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['crawler_im'] = array('EXT:crawler/cli/crawler_im.php', '_CLI_crawler'); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['crawler_flush'] = array('EXT:crawler/cli/crawler_flush.php', '_CLI_crawler'); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['GLOBAL']['cliKeys']['crawler_multiprocess'] = array('EXT:crawler/cli/crawler_multiprocess.php', '_CLI_crawler'); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['connectToDB']['tx_crawler'] = 'EXT:crawler/hooks/class.tx_crawler_hooks_tsfe.php:&tx_crawler_hooks_tsfe->fe_init'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['initFEuser']['tx_crawler'] = 'EXT:crawler/hooks/class.tx_crawler_hooks_tsfe.php:&tx_crawler_hooks_tsfe->fe_feuserInit'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['isOutputting']['tx_crawler'] = 'EXT:crawler/hooks/class.tx_crawler_hooks_tsfe.php:&tx_crawler_hooks_tsfe->fe_isOutputting'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['hook_eofe']['tx_crawler'] = 'EXT:crawler/hooks/class.tx_crawler_hooks_tsfe.php:&tx_crawler_hooks_tsfe->fe_eofe'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['nc_staticfilecache/class.tx_ncstaticfilecache.php']['createFile_initializeVariables']['tx_crawler'] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_crawler_hooks_staticFileCacheCreateUri.php:tx_crawler_hooks_staticFileCacheCreateUri->initialize'; $GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['BE_alwaysFetchUser'] = true; // Activating cli_hooks $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['crawler']['cli_hooks'][] = 'tx_crawler_hooks_processCleanUp'; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_crawler_auth', array('title' => 'Login for wsPreview', 'description' => '', 'subtype' => 'getUserBE,authUserBE', 'available' => TRUE, 'priority' => 80, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'tx_crawler_auth')); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_crawler_scheduler_im'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_im.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_im.description', 'additionalFields' => 'tx_crawler_scheduler_imAdditionalFieldProvider'); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_crawler_scheduler_crawl'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_crawl.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_crawl.description', 'additionalFields' => 'tx_crawler_scheduler_crawlAdditionalFieldProvider'); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_crawler_scheduler_crawlMultiProcess'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_crawlMultiProcess.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_crawl.description', 'additionalFields' => 'tx_crawler_scheduler_crawlMultiProcessAdditionalFieldProvider'); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['tx_crawler_scheduler_flush'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_flush.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang_db.xml:crawler_flush.description', 'additionalFields' => 'tx_crawler_scheduler_flushAdditionalFieldProvider');
* The GNU General Public License can be found at * http://www.gnu.org/copyleft/gpl.html. * * This script is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ if (!defined('TYPO3_MODE')) { die('Access denied.'); } $GLOBALS['TYPO3_CONF_VARS']['EXT']['extParams'][$_EXTKEY] = unserialize($_EXTCONF); // Service registration \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'index', 'tx_twlucenesearch_sv', array('title' => 'Lucene indexer manager', 'description' => 'Service for building and querying a lucene search index', 'subtype' => 'lucene', 'available' => true, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/Lucene.php', 'className' => 'Tollwerk\\TwLucenesearch\\Service\\Lucene')); // Search plugin configuration \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Tollwerk.' . $_EXTKEY, 'Lucene', array('Lucene' => 'search,results,notfound'), array('Lucene' => 'results,notfound')); // Autocomplete plugin configuration \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Tollwerk.' . $_EXTKEY, 'LuceneAutocomplete', array('Lucene' => 'autocomplete'), array('Lucene' => 'autocomplete')); // Adding the "Classes" directory to the include path set_include_path(implode(PATH_SEPARATOR, array_unique(array_merge(array(\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY, 'Classes')), explode(PATH_SEPARATOR, get_include_path()))))); // Indexing hook registration $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output'][] = 'EXT:tw_lucenesearch/Classes/Utility/Indexer.php:&Tollwerk\\TwLucenesearch\\Utility\\Indexer->intPages'; $TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-all'][] = 'EXT:tw_lucenesearch/Classes/Utility/Indexer.php:&Tollwerk\\TwLucenesearch\\Utility\\Indexer->noIntPages'; // Rewriting hook provision if (!array_key_exists('tw_lucenesearch', $GLOBALS['TYPO3_CONF_VARS']['EXTCONF'])) { $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tw_lucenesearch'] = array('search-rewrite-hooks' => array(), 'term-rewrite-hooks' => array()); } if (!array_key_exists('search-rewrite-hooks', $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tw_lucenesearch']) || !is_array($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tw_lucenesearch']['search-rewrite-hooks'])) { $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['tw_lucenesearch']['search-rewrite-hooks'] = array();
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } if (!is_array($TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['openweathermap_php_api_service'])) { $TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['openweathermap_php_api_service'] = array(); } \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'openweathermap_php_api', 'tx_openweathermap_php_api_service', array('title' => 'OpenWeatherMap PHP Api for TYPO3', 'description' => '', 'subtype' => '', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/OpenweathermapPhpApiService.php', 'className' => 'RauchF\\OpenweathermapPhpApiService\\Service\\OpenweathermapPhpApiService')); $composerAutoloadFile = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Resources/Private/Vendor/autoload.php'; require_once $composerAutoloadFile;
$GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_fetchUserIfNoSession'] = 1; } // Visually change the record icon for FE/BE users and groups $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_iconworks.php']['overrideIconOverlay'][] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/DatabaseRecordListIconUtility.php:Causal\\IgLdapSsoAuth\\Hooks\\DatabaseRecordListIconUtility'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/class.db_list_extra.inc']['getTable'][] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/DatabaseRecordListIconUtility.php:Causal\\IgLdapSsoAuth\\Hooks\\DatabaseRecordListIconUtility'; // Service configuration $subTypesArr = array(); $subTypes = ''; if ($EXT_CONFIG['enableFELDAPAuthentication']) { $subTypesArr[] = 'getUserFE'; $subTypesArr[] = 'authUserFE'; $subTypesArr[] = 'getGroupsFE'; } if ($EXT_CONFIG['enableBELDAPAuthentication']) { $subTypesArr[] = 'getUserBE'; $subTypesArr[] = 'authUserBE'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/setup/mod/index.php']['modifyUserDataBeforeSave'][] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/SetupModuleController.php:Causal\\IgLdapSsoAuth\\Hooks\\SetupModuleController->preprocessData'; } if (is_array($subTypesArr)) { $subTypesArr = array_unique($subTypesArr); $subTypes = implode(',', $subTypesArr); } // Register hook for \TYPO3\CMS\Core\DataHandling\DataHandler $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/DataHandler.php:Causal\\IgLdapSsoAuth\\Hooks\\DataHandler'; // Register the import users Scheduler task $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['Causal\\IgLdapSsoAuth\\Task\\ImportUsers'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:task.import_users.title', 'description' => 'LLL:EXT:' . $_EXTKEY . '/Resources/Private/Language/locallang.xlf:task.import_users.description', 'additionalFields' => 'Causal\\IgLdapSsoAuth\\Task\\ImportUsersAdditionalFields'); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Causal\\IgLdapSsoAuth\\Service\\AuthenticationService', array('title' => 'Authentication service', 'description' => 'Authentication service for LDAP and SSO environment.', 'subtype' => $subTypes, 'available' => TRUE, 'priority' => 80, 'quality' => 80, 'os' => '', 'exec' => '', 'className' => 'Causal\\IgLdapSsoAuth\\Service\\AuthenticationService')); // Register type converters \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerTypeConverter('Causal\\IgLdapSsoAuth\\Property\\TypeConverter\\ConfigurationConverter'); // User have save doc new button \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addUserTSConfig('options.saveDocNew.tx_igldapssoauth_config=1');
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'pdfgenerator', 'tx_pdf_generator', array('title' => 'PdfGenerator for TYPO3', 'description' => '', 'subtype' => '', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/PdfGenerator.php', 'className' => '\\Arrabiata\\PdfGenerator\\Service\\PdfGenerator'));
<?php /*************************************************************** * Copyright notice * * (c) 2013 Julian Kleinhans <*****@*****.**>, aijko GmbH * * All rights reserved * * This script is part of the TYPO3 project. The TYPO3 project is * free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * The GNU General Public License can be found at * http://www.gnu.org/copyleft/gpl.html. * * This script is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * This copyright notice MUST APPEAR in all copies of the script! ***************************************************************/ if (!defined('TYPO3_MODE')) { die('Access denied.'); } \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Aijko\\SharepointAuth\\Service\\AuthenticationService', array('title' => 'Sharepoint authentication service', 'description' => 'Authenticates users from sharepoint', 'subtype' => 'authUserFE,getUserFE', 'available' => TRUE, 'priority' => 100, 'quality' => 100, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/AuthenticationService.php', 'className' => 'Aijko\\SharepointAuth\\Service\\AuthenticationService'));
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } // Register base authentication service \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'TYPO3\\CMS\\Sv\\AuthenticationService', array('title' => 'User authentication', 'description' => 'Authentication with username/password.', 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'class.tx_sv_auth.php', 'className' => 'TYPO3\\CMS\\Sv\\AuthenticationService')); // Add hooks to the backend login form $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:TYPO3\\CMS\\Sv\\LoginFormHook->getLoginFormTag'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:TYPO3\\CMS\\Sv\\LoginFormHook->getLoginScripts';
<?php defined('TYPO3_MODE') or die; // Register OpenID processing service with TYPO3 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_openid_service_process', array('title' => 'OpenID Authentication', 'description' => 'OpenID processing login information service for Frontend and Backend', 'subtype' => 'processLoginDataBE,processLoginDataFE', 'available' => TRUE, 'priority' => 35, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Openid\\OpenidService')); // Register OpenID authentication service with TYPO3 \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_openid_service', array('title' => 'OpenID Authentication', 'description' => 'OpenID authentication service for Frontend and Backend', 'subtype' => 'getUserFE,authUserFE,getUserBE,authUserBE', 'available' => TRUE, 'priority' => 75, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Openid\\OpenidService')); // Register eID script that performs final FE user authentication. It will be called by the OpenID provider $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_openid'] = 'EXT:openid/class.tx_openid_eid.php'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['setup']['accessLevelCheck']['TYPO3\\CMS\\Openid\\OpenidModuleSetup'] = ''; // Use popup window to refresh login instead of the AJAX relogin: $GLOBALS['TYPO3_CONF_VARS']['BE']['showRefreshLoginPopup'] = 1;
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } if ('BE' === TYPO3_MODE) { // Do not show the IP records in the listing $allowedTablesTs = ' mod.web_list.deniedNewTables := addToList(tx_aoeipauth_domain_model_ip) mod.web_list.hideTables := addToList(tx_aoeipauth_domain_model_ip) '; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPageTSConfig($allowedTablesTs); // Hooks $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/Classes/Hooks/Tcemain.php:Tx_AoeIpauth_Hooks_Tcemain'; } elseif ('FE' === TYPO3_MODE) { $extensionConfiguration = unserialize($_EXTCONF); $GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_fetchUserIfNoSession'] = isset($extensionConfiguration['fetchFeUserIfNoSession']) ? $extensionConfiguration['fetchFeUserIfNoSession'] : 1; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['nc_staticfilecache/class.tx_ncstaticfilecache.php']['createFile_initializeVariables'][$_EXTKEY] = '\\AOE\\AoeIpauth\\Hooks\\Staticfilecache->createFileInitializeVariables'; unset($extensionConfiguration); } // IP Authentication Service \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_aoeipauth_typo3_service_authentication', array('title' => 'IP Authentication', 'description' => 'Authenticates against IP addresses and ranges.', 'subtype' => 'authUserFE,getUserFE,getGroupsFE', 'available' => TRUE, 'priority' => 80, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Typo3/Service/Authentication.php', 'className' => '\\AOE\\AoeIpauth\\Typo3\\Service\\Authentication'));
// -- 1. code snippet (SyntaxHighlighter) \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('DreadLabs.' . $_EXTKEY, 'PageAssetsSyntaxHighlighter', ['PageAssets\\SyntaxHighlighter' => 'jsFooterInline'], []); // -- content elements // -- 1. orbiter \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('DreadLabs.' . $_EXTKEY, 'Orbiter', ['Content\\Orbiter' => 'show'], [], \TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT); // -- 2. code snippet \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('DreadLabs.' . $_EXTKEY, 'CodeSnippet', ['Content\\CodeSnippet' => 'show'], [], \TYPO3\CMS\Extbase\Utility\ExtensionUtility::PLUGIN_TYPE_CONTENT_ELEMENT); \DreadLabs\Vantomas\Hook\PageLayoutView\DrawItem\CodeSnippet::register($_EXTKEY); /* @var $signalSlotDispatcher \TYPO3\CMS\Extbase\SignalSlot\Dispatcher */ $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); // -- register contact form mailing handler $signalSlotDispatcher->connect(\DreadLabs\Vantomas\Controller\Form\ContactController::class, 'send', \DreadLabs\VantomasWebsite\Mail\Carrier::class, 'convey'); // -- register secret santa donor/donee pair persister $signalSlotDispatcher->connect(\DreadLabs\VantomasWebsite\SecretSanta\Donee\Resolver::class, 'FoundDonee', \DreadLabs\Vantomas\Domain\EventListener\PersistSecretSantaPairListener::class, 'handle'); // -- register code snippet brush registration $signalSlotDispatcher->connect(\DreadLabs\VantomasWebsite\CodeSnippet\SyntaxHighlighterParser::class, 'RegisterCodeSnippetBrush', \DreadLabs\Vantomas\Domain\EventListener\RegisterSyntaxHighlighterBrushListener::class, 'handle'); // -- register dispatcher slot for deferred loading of code snippet page assets $signalSlotDispatcher->connect(\TYPO3\CMS\Extbase\Mvc\Dispatcher::class, 'afterRequestDispatch', \DreadLabs\Vantomas\Domain\EventListener\JsFooterInlineCodeListener::class, 'handle'); // -- caches // -- 1. code snippet brushes if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['codesnippet_brushes'])) { $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['codesnippet_brushes'] = []; } if (!is_array($GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['codesnippet_brushes']['backend'])) { $GLOBALS['TYPO3_CONF_VARS']['SYS']['caching']['cacheConfigurations']['codesnippet_brushes']['backend'] = \TYPO3\CMS\Core\Cache\Backend\TransientMemoryBackend::class; } $cdnInterceptor = \DreadLabs\Vantomas\Hook\TypoScriptFrontendControllerHook::class . '->interceptCdnReplacements'; $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tslib/class.tslib_fe.php']['contentPostProc-output'][] = $cdnInterceptor; // -- register threat detection auth service for frontend \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', \DreadLabs\Vantomas\Authentication\Frontend\ReCaptcha::class, ['title' => 'Frontend login threat detection', 'description' => 'Detects threats on the frontend login', 'subtype' => 'authUserFE', 'available' => true, 'priority' => 90, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => \DreadLabs\Vantomas\Authentication\Frontend\ReCaptcha::class]);
<?php /** * @var $_EXTKEY */ if (!defined("TYPO3_MODE")) { die('Access denied.'); } \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'AP\\LDAPAuthenticationService', array('title' => 'LDAP authentication', 'description' => 'Authenticates users against a LDAP directory server.', 'subtype' => 'getUserFE,authUserFE', 'available' => true, 'priority' => 100, 'quality' => 100, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/LDAPAuthenticationService.php', 'className' => '\\AP\\ApLdapAuth\\Sv\\LDAPAuthenticationService')); //$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][] = 'EXT:' . $_EXTKEY . '/Classes/Hook/LogoffHook.php:&LogoffHook->pre_processing';
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } // Configuration of authentication service. $EXT_CONFIG = unserialize($TYPO3_CONF_VARS['EXT']['extConf']['woehrl_sso_intranet']); // SSO configuration if ($EXT_CONFIG['enableFetchUserIfNoSession']) { $TYPO3_CONF_VARS['SVCONF']['auth']['setup']['FE_fetchUserIfNoSession'] = 1; } else { $TYPO3_CONF_VARS['SVCONF']['auth']['setup']['FE_alwaysFetchUser'] = 1; } require_once \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/Sv1.php'; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Sv1', array('title' => 'SSO Intranet Login', 'description' => 'SSO Authentication service', 'subtype' => 'getUserFE,authUserFE', 'available' => TRUE, 'priority' => 70, 'quality' => 70, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Service/Sv1.php', 'className' => 'Woehrl\\WoehrlSsoIntranet\\Service\\Sv1'));
} $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['px_hybrid_auth']); // Endpoint-Plugin ExtensionUtility::configurePlugin('Portrino.' . $_EXTKEY, 'HybridAuth', array('HybridAuth' => 'endpoint'), array('HybridAuth' => 'endpoint')); ExtensionUtility::configurePlugin('Portrino.' . $_EXTKEY, 'Login', array('FacebookUser' => 'newLogin', 'LinkedinUser' => 'newLogin', 'XingUser' => 'newLogin'), array('FacebookUser' => 'newLogin', 'LinkedinUser' => 'newLogin', 'XingUser' => 'newLogin')); // Identity-Plugin ExtensionUtility::configurePlugin('Portrino.' . $_EXTKEY, 'Identity', array('Identity' => 'list,remove', 'Identity\\FacebookIdentity' => 'create,remove', 'Identity\\LinkedinIdentity' => 'create,remove', 'Identity\\XingIdentity' => 'create,remove'), array('Identity' => 'list,remove', 'Identity\\FacebookIdentity' => 'create,remove', 'Identity\\LinkedinIdentity' => 'create,remove', 'Identity\\XingIdentity' => 'create,remove')); ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', '[GLOBAL] tt_content.px_hybrid_auth_login = COA tt_content.px_hybrid_auth_login { 10 = < lib.stdheader 20 > 20 = < plugin.tx_pxhybridauth_login } ', TRUE); ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'Portrino\\PxHybridAuth\\Service\\SocialLoginAuthenticationService', array('title' => 'PxHybridAuth Social Login', 'description' => 'Single Sign On via Social Provider', 'subtype' => 'authUserFE,getUserFE', 'available' => TRUE, 'priority' => 82, 'quality' => 82, 'os' => '', 'exec' => '', 'className' => 'Portrino\\PxHybridAuth\\Service\\SocialLoginAuthenticationService')); // hook for content element preview in backend $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['cms/layout/class.tx_cms_layout.php']['tt_content_drawItem'][$_EXTKEY] = 'Portrino\\PxHybridAuth\\Hooks\\PageLayoutViewDrawItemHook'; if ((bool) $extConf['facebook.']['enabled'] || (bool) $extConf['linkedin.']['enabled'] || (bool) $extConf['xing.']['enabled']) { $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing'][$_EXTKEY] = 'Portrino\\PxHybridAuth\\Hooks\\LogOffHook->postProcessing'; } /** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */ $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); if ((bool) $extConf['auto_fe_user_creation.']['enabled']) { $signalSlotDispatcher->connect('Portrino\\PxHybridAuth\\Service\\SocialLoginAuthenticationService', 'getUser', 'Portrino\\PxHybridAuth\\Slots\\SocialLoginAuthenticationServiceSlot', 'getUser', FALSE); } // if px_lib is not loaded take the ProcessDatamapDispatcher from py_hybrid_auth if (!ExtensionManagementUtility::isLoaded('px_lib')) { $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'Portrino\\PxHybridAuth\\Hooks\\ProcessDataMapDispatcher'; } $signalSlotDispatcher->connect('tt_content', 'updateRecordPostProcessFieldArray', 'Portrino\\PxHybridAuth\\Slots\\ProcessDataMap\\ContentSlot', 'preventEmptyFlexFormValues', FALSE);
<?php defined('TYPO3_MODE') || die; $boot = function ($_EXTKEY) { /** @var \TYPO3\CMS\Extbase\SignalSlot\Dispatcher $signalSlotDispatcher */ $signalSlotDispatcher = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Extbase\SignalSlot\Dispatcher::class); /** @var \TYPO3\CMS\Core\Imaging\IconRegistry $iconRegistry */ $iconRegistry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance(\TYPO3\CMS\Core\Imaging\IconRegistry::class); $extConf = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['px_hybrid_auth']); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', \Portrino\PxHybridAuth\Service\SocialLoginAuthenticationService::class, ['title' => 'PxHybridAuth Social Login', 'description' => 'Single Sign On via Social Provider', 'subtype' => 'authUserFE,getUserFE', 'available' => true, 'priority' => 82, 'quality' => 82, 'os' => '', 'exec' => '', 'className' => \Portrino\PxHybridAuth\Service\SocialLoginAuthenticationService::class]); if (TYPO3_MODE === 'FE') { // Endpoint-Plugin \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Portrino.' . $_EXTKEY, 'HybridAuth', ['HybridAuth' => 'endpoint'], ['HybridAuth' => 'endpoint']); // Login-Plugin \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Portrino.' . $_EXTKEY, 'Login', ['FacebookUser' => 'newLogin', 'LinkedinUser' => 'newLogin', 'XingUser' => 'newLogin'], ['FacebookUser' => 'newLogin', 'LinkedinUser' => 'newLogin', 'XingUser' => 'newLogin']); // Identity-Plugin \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('Portrino.' . $_EXTKEY, 'Identity', ['Identity' => 'list,remove', 'Identity\\FacebookIdentity' => 'create,remove', 'Identity\\LinkedinIdentity' => 'create,remove', 'Identity\\XingIdentity' => 'create,remove'], ['Identity' => 'list,remove', 'Identity\\FacebookIdentity' => 'create,remove', 'Identity\\LinkedinIdentity' => 'create,remove', 'Identity\\XingIdentity' => 'create,remove']); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addTypoScript($_EXTKEY, 'setup', '[GLOBAL] tt_content.px_hybrid_auth_login = COA tt_content.px_hybrid_auth_login { 10 = < lib.stdheader 20 > 20 = < plugin.tx_pxhybridauth_login } ', true); if ((bool) $extConf['provider.']['facebook.']['enabled'] || (bool) $extConf['provider.']['linkedin.']['enabled'] || (bool) $extConf['provider.']['xing.']['enabled']) { if (is_array($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing']) === false) { $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing'] = []; } $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing'][$_EXTKEY] = \Portrino\PxHybridAuth\Hooks\LogOffHook::class . '->postProcessing'; }
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } /* Add the frontend plugins */ \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'pi1/class.tx_wecmap_pi1.php', '_pi1', 'list_type', 0); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'pi2/class.tx_wecmap_pi2.php', '_pi2', 'list_type', 0); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addPItoST43($_EXTKEY, 'pi3/class.tx_wecmap_pi3.php', '_pi3', 'list_type', 0); $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:wec_map/class.tx_wecmap_backend.php:tx_wecmap_backend'; /* Add the Google geocoding service */ \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'geocode', 'tx_wecmap_geocode_google', array('title' => 'Google Maps Address Lookup API V3', 'description' => '', 'subtype' => '', 'available' => TRUE, 'priority' => 100, 'quality' => 100, 'os' => '', 'exec' => '', 'classFile' => \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'geocode_service/class.tx_wecmap_geocode_google.php', 'className' => 'tx_wecmap_geocode_google'));
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } \TYPO3\CMS\Extbase\Utility\ExtensionUtility::configurePlugin('MV.' . $_EXTKEY, 'Pi1', array('Auth' => 'list, connect, endpoint'), array('Auth' => 'connect, endpoint')); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'SocialAuthenticationService', array('title' => 'Social Authentification Service', 'description' => 'authentication for users from social providers (facebook, twitter...)', 'subtype' => 'authUserFE,getUserFE', 'available' => true, 'priority' => 82, 'quality' => 82, 'os' => '', 'exec' => '', 'className' => 'MV\\SocialAuth\\Service\\SocialAuthenticationService')); $GLOBALS['TYPO3_CONF_VARS']['SVCONF']['auth']['setup']['FE_fetchUserIfNoSession'] = '1'; $extConfig = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['social_auth']); if ($extConfig['providers.']['facebook.']['enabled'] || $extConfig['providers.']['google.']['enabled'] || $extConfig['providers.']['twitter.']['enabled']) { $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_post_processing'][$_EXTKEY] = 'MV\\SocialAuth\\Hooks\\LogOffHook->postProcessing'; //add marker to felogin if is loaded if (\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::isLoaded('felogin')) { $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['postProcContent'][$_EXTKEY] = 'MV\\SocialAuth\\Hooks\\FeLoginHook->postProcContent'; } }
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } // Form evaluation function for fe_users $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals']['tx_saltedpasswords_eval_fe'] = 'EXT:saltedpasswords/Classes/Evaluation/FrontendEvaluator.php'; // Form evaluation function for be_users $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals']['tx_saltedpasswords_eval_be'] = 'EXT:saltedpasswords/Classes/Evaluation/BackendEvaluator.php'; // Hook for processing "forgotPassword" in felogin $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['password_changed'][] = 'TYPO3\\CMS\\Saltedpasswords\\Utility\\SaltedPasswordsUtility->feloginForgotPasswordHook'; // Extension may register additional salted hashing methods in this array $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/saltedpasswords']['saltMethods'] = array(); \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService('saltedpasswords', 'auth', 'TYPO3\\CMS\\Saltedpasswords\\SaltedPasswordService', array('title' => 'FE/BE Authentification salted', 'description' => 'Salting of passwords for Frontend and Backend', 'subtype' => 'authUserFE,authUserBE', 'available' => TRUE, 'priority' => 70, 'quality' => 70, 'os' => '', 'exec' => '', 'className' => 'TYPO3\\CMS\\Saltedpasswords\\SaltedPasswordService')); // Register bulk update task $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['scheduler']['tasks']['TYPO3\\CMS\\Saltedpasswords\\Task\\BulkUpdateTask'] = array('extension' => $_EXTKEY, 'title' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xlf:ext.saltedpasswords.tasks.bulkupdate.name', 'description' => 'LLL:EXT:' . $_EXTKEY . '/locallang.xlf:ext.saltedpasswords.tasks.bulkupdate.description', 'additionalFields' => 'TYPO3\\CMS\\Saltedpasswords\\Task\\BulkUpdateFieldProvider');
<?php if (!defined('TYPO3_MODE')) { die('Access denied.'); } \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'connector', 'tx_svconnectorcsv_sv1', array('title' => 'CSV connector', 'description' => 'Connector service for reading CSV files or other flat files', 'subtype' => 'csv', 'available' => true, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'className' => \Cobweb\SvconnectorCsv\Service\ConnectorCsv::class));
/** * Registers an authentication service to authorize / grant the indexer to * access protected pages. * * @return void */ protected function registerAuthorizationService() { $overrulingPriority = $this->getHighestAuthenticationServicePriority() + 1; ExtensionManagementUtility::addService('solr', 'auth', 'ApacheSolrForTypo3\\Solr\\IndexQueue\\FrontendHelper\\AuthorizationService', array('title' => 'Solr Indexer Authorization', 'description' => 'Authorizes the Solr Index Queue indexer to access protected pages.', 'subtype' => 'getUserFE,authUserFE,getGroupsFE', 'available' => true, 'priority' => $overrulingPriority, 'quality' => 100, 'os' => '', 'exec' => '', 'classFile' => $GLOBALS['PATH_solr'] . 'Classes/IndexQueue/FrontendHelper/AuthorizationService.php', 'className' => 'ApacheSolrForTypo3\\Solr\\IndexQueue\\FrontendHelper\\AuthorizationService')); }
<?php defined('TYPO3_MODE') or die; \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_privacyidea_service', array('title' => 'Authentication against privacyIDEA for FE/BE', 'description' => 'authenticate user by using OTP with privacyIDEA', 'subtype' => 'authUserFE,authUserBE', 'available' => TRUE, 'priority' => 80, 'quality' => 80, 'os' => '', 'exec' => '', 'className' => 'NetKnightsGmbH\\privacyidea\\PrivacyideaService'));