## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'editorcfg', '
	tt_content.CSS_editor.ch.tx_rggooglemap_pi1 = < plugin.tx_rggooglemap_pi1.CSS_editor
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_rggooglemap_pi1.php', '_pi1', 'list_type', 0);
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
	tt_content.text.20.parseFunc.tags.map = < plugin.' . t3lib_extMgm::getCN($_EXTKEY) . '_pi2
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi2/class.tx_rggooglemap_pi2.php', '_pi2', '', 1);
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'setup', '
	tt_content.text.20.parseFunc.tags.mapcat = < plugin.' . t3lib_extMgm::getCN($_EXTKEY) . '_pi3
', 43);
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi3/class.tx_rggooglemap_pi3.php', '_pi3', '', 1);
$PATH_rggm = t3lib_extMgm::extPath('rggooglemap');
// for hook
if (TYPO3_MODE == 'FE') {
    require_once $PATH_rggm . 'class.tx_rggm_fe.php';
}
// register hooks for ve_guestbook
#$TYPO3_CONF_VARS['EXTCONF']['ve_guestbook']['extraItemMarkerHook'][]   = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['ve_guestbook']['preEntryInsertHook'][]    = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['th_mailformplus']['extraItemMarkerHook'][]   = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['tt_news']['extraItemMarkerHook'][]   = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['tt_news']['extraGlobalMarkerHook'][]   = 'tx_rggm_fe';
#$TYPO3_CONF_VARS['EXTCONF']['ve_guestbook']['postEntryInsertedHook'][] = 'tx_rggm_fe';
#$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:myextension/class.myextension_tcemainprocdm.php:tx_myextension_tcemainprocdm';
t3lib_extMgm::addService($_EXTKEY, 'rggmData', 'tx_rggooglemap_sv1', array('title' => 'tt_address for rggooglemap ', 'description' => 'Gets the needed data out of tt_address', 'subtype' => 'tt_address', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv1/class.tx_rggooglemap_sv1.php', 'className' => 'tx_rggooglemap_sv1'));
# automatic lng+lat if activated
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['processDatamapClass'][] = 'EXT:rggooglemap/res/class.tx_rggooglemap_tcemainprocdm.php:tx_rggooglemap_tcemainprocdm';
 public static function registerNotificationExitPoint($extKey, $path, $key, $title, $description = '')
 {
     global $TCA;
     t3lib_div::loadTCA('tx_caretaker_exitpoints');
     // Register test service
     t3lib_extMgm::addService('caretaker', 'caretaker_exitpoint', $key, array('title' => $title, 'description' => $description, 'subtype' => $key, 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($extKey) . $path . '/class.' . $key . 'ExitPoint.php', 'className' => $key . 'ExitPoint'));
     // Add exitpoint to TCA
     if (is_array($TCA['tx_caretaker_exitpoints']['columns']) && is_array($TCA['tx_caretaker_exitpoints']['columns']['service']['config']['items'])) {
         $TCA['tx_caretaker_exitpoints']['columns']['service']['config']['items'][] = array($title, $key);
     }
     // Add flexform to service-item
     if (is_array($TCA['tx_caretaker_exitpoints']['columns']) && is_array($TCA['tx_caretaker_exitpoints']['columns']['config']['config']['ds'])) {
         $TCA['tx_caretaker_exitpoints']['columns']['config']['config']['ds'][$key] = 'FILE:EXT:' . $extKey . '/' . $path . '/' . ($flexform ? $flexform : 'ds.' . $key . 'ExitPoint.xml');
     }
 }
<?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/eval/class.tx_saltedpasswords_eval_fe.php';
// form evaluation function for be_users
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['tce']['formevals']['tx_saltedpasswords_eval_be'] = 'EXT:saltedpasswords/classes/eval/class.tx_saltedpasswords_eval_be.php';
// hook for processing "forgotPassword" in felogin
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['password_changed'][] = 'EXT:saltedpasswords/classes/class.tx_saltedpasswords_div.php:tx_saltedpasswords_div->feloginForgotPasswordHook';
// registering all available hashes to factory
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/saltedpasswords']['saltMethods'] = array('tx_saltedpasswords_salts_md5' => 'EXT:saltedpasswords/classes/salts/class.tx_saltedpasswords_salts_md5.php:tx_saltedpasswords_salts_md5', 'tx_saltedpasswords_salts_blowfish' => 'EXT:saltedpasswords/classes/salts/class.tx_saltedpasswords_salts_blowfish.php:tx_saltedpasswords_salts_blowfish', 'tx_saltedpasswords_salts_phpass' => 'EXT:saltedpasswords/classes/salts/class.tx_saltedpasswords_salts_phpass.php:tx_saltedpasswords_salts_phpass');
t3lib_extMgm::addService('saltedpasswords', 'auth', 'tx_saltedpasswords_sv1', 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' => '', 'classFile' => t3lib_extMgm::extPath('saltedpasswords') . 'sv1/class.tx_saltedpasswords_sv1.php', 'className' => 'tx_saltedpasswords_sv1'));
// Use popup window to refresh login instead of the AJAX relogin:
$TYPO3_CONF_VARS['BE']['showRefreshLoginPopup'] = 1;
<?php

// Make sure that we are executed only from the inside of TYPO3
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// Register OpenID authentication service with TYPO3
t3lib_extMgm::addService($_EXTKEY, 'auth', 'tx_openid_sv1', 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' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv1/class.tx_openid_sv1.php', 'className' => 'tx_openid_sv1'));
// 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']['tx_openid_mod_setup'] = 'EXT:openid/class.tx_openid_mod_setup.php';
// Use popup window to refresh login instead of the AJAX relogin:
$TYPO3_CONF_VARS['BE']['showRefreshLoginPopup'] = 1;
Beispiel #5
0
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
## Extending TypoScript from static template uid=43 to set up userdefined tag:
t3lib_extMgm::addTypoScript($_EXTKEY, 'editorcfg', '
	tt_content.CSS_editor.ch.tx_fbmagento_pi1 = < plugin.tx_fbmagento_pi1.CSS_editor
', 43);
// RealURL autoconfiguration
if ($_EXTCONF['realurl']) {
    require_once t3lib_extmgm::extPath('fb_magento') . 'lib/class.tx_fbmagento_realurl.php';
    $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['ext/realurl/class.tx_realurl_autoconfgen.php']['extensionConfiguration']['fbmagento'] = 'EXT:fb_magento/lib/class.tx_fbmagento_realurl.php:tx_fbmagento_realurl->addMagentoConfig';
}
t3lib_extMgm::addPItoST43($_EXTKEY, 'pi1/class.tx_fbmagento_pi1.php', '_pi1', 'list_type', 0);
// logout hook
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_userauth.php']['logoff_pre_processing'][] = 'EXT:fb_magento/lib/class.tx_fbmagento_hookobserver.php:tx_fbmagento_hookobserver->logoff';
if (!function_exists('tx_fbmagento_getvars')) {
    /**
     * Check $_GET Var Values
     *
     * @param string key|value $param
     * @return boolan
     */
    function tx_fbmagento_getvars($param)
    {
        list($key, $value) = explode('|', $param);
        $pi_getVars = t3lib_div::_GET('tx_fbmagento');
        return $pi_getVars['shop'][$key] == $value ? true : false;
    }
}
t3lib_extMgm::addService($_EXTKEY, 'auth', 'tx_fbmagento_auth_sv1', array('title' => 'Magento Customer Login', 'description' => 'Login a frontend user automatically if one is found in the Magento Customer Table.', 'subtype' => 'getUserFE,authUserFE,getGroupsFE', 'available' => TRUE, 'priority' => 60, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'lib/class.tx_fbmagento_auth_sv1.php', 'className' => 'tx_fbmagento_auth_sv1'));
Beispiel #6
0
<?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;
t3lib_extMgm::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');
<?php

/**
 * Laden der Configs für die Services.
 * @package tx_mklib
 * @subpackage tx_mklib_srv
 */
/**
 * alle benötigten Klassen einbinden etc.
 */
if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
require_once t3lib_extMgm::extPath('rn_base') . 'class.tx_rnbase.php';
tx_rnbase::load('tx_mklib_util_ServiceRegistry');
tx_rnbase::load('tx_rnbase_util_SearchBase');
t3lib_extMgm::addService($_EXTKEY, 'mklib', 'tx_mklib_srv_Wordlist', array('title' => 'Wordlist services', 'description' => 'Service functions for handling wordlists', 'subtype' => 'wordlist', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'srv/class.tx_mklib_srv_Wordlist.php', 'className' => 'tx_mklib_srv_Wordlist'));
t3lib_extMgm::addService($_EXTKEY, 'mklib', 'tx_mklib_srv_Finance', array('title' => 'Finance services', 'description' => 'Service functions for handling finances', 'subtype' => 'finance', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'srv/class.tx_mklib_srv_Finance.php', 'className' => 'tx_mklib_srv_Finance'));
t3lib_extMgm::addService($_EXTKEY, 'mklib', 'tx_mklib_srv_StaticCountries', array('title' => 'StaticCountries services', 'description' => 'Service functions for handling StaticCountries', 'subtype' => 'staticCountries', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'srv/class.tx_mklib_srv_StaticCountries.php', 'className' => 'tx_mklib_srv_StaticCountries'));
t3lib_extMgm::addService($_EXTKEY, 'mklib', 'tx_mklib_srv_StaticCountryZones', array('title' => 'StaticCountryZones services', 'description' => 'Service functions for handling StaticCountryZones', 'subtype' => 'staticCountryZones', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'srv/class.tx_mklib_srv_StaticCountryZones.php', 'className' => 'tx_mklib_srv_StaticCountryZones'));
Beispiel #8
0
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
$extConf = unserialize($_EXTCONF);
if ($extConf['enable.']['sv1']) {
    t3lib_extMgm::addService($_EXTKEY, 'metaExtract', 'tx_svmetaextract_sv1', array('title' => 'IPTC extraction', 'description' => 'Get IPTC data from files by PHP function "iptcparse".', 'subtype' => 'image:iptc', 'available' => function_exists('getimagesize') and function_exists('iptcparse'), 'priority' => 60, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv1/class.tx_svmetaextract_sv1.php', 'className' => 'tx_svmetaextract_sv1'));
}
if ($extConf['enable.']['sv2']) {
    t3lib_extMgm::addService($_EXTKEY, 'metaExtract', 'tx_svmetaextract_sv2', array('title' => 'EXIF extraction', 'description' => 'Extract EXIF data from images by PHP function "exif_read_data".', 'subtype' => 'image:exif', 'available' => function_exists('exif_read_data'), 'priority' => 60, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv2/class.tx_svmetaextract_sv2.php', 'className' => 'tx_svmetaextract_sv2'));
}
if ($extConf['enable.']['sv3']) {
    t3lib_extMgm::addService($_EXTKEY, 'metaExtract', 'tx_svmetaextract_sv3', array('title' => 'EXIF extraction', 'description' => 'Extract EXIF data from images using external program "exiftags".', 'subtype' => 'image:exif', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => 'exiftags', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv3/class.tx_svmetaextract_sv3.php', 'className' => 'tx_svmetaextract_sv3'));
}
if ($extConf['enable.']['sv4']) {
    t3lib_extMgm::addService($_EXTKEY, 'metaExtract', 'tx_svmetaextract_sv4', array('title' => 'EXIF/IPTC/XMP extraction', 'description' => 'Extract EXIF/IPTC/XMP data from files using external program "exiftool".', 'subtype' => 'image:exif, image:iptc, ' . 'acr, ai, aiff, aif, aifc, ape, arw, asf, avi, bmp, dib, cr2, crw, ciff, dcm, ' . 'dc3, dic, dicm, dng, doc, erf, flac, fpx, gif, html, htm, xhtml, icc, icm, jp2, ' . 'jpx, jpeg, jpg, m4a, mie, miff, mif, mos, mov, qt, mp3, mp4, mpc, mpeg, mpg, ' . 'mrw, nef, ogg, orf, pdf, pef, pict, pct, png, jng, mng, ppm, pbm, pgm, ppt, ' . 'ps, eps, epsf, psd, qtif, qti, qif, ra, raf, ram, rpm, raw, raw, riff, rif, ' . 'rm, rv, rmvb, sr2, srf, swf, thm, tiff, tif, vrd, wav, wdp, wma, wmv, x3f, xls, xmp', 'available' => TRUE, 'priority' => 60, 'quality' => 60, 'os' => '', 'exec' => 'exiftool', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv4/class.tx_svmetaextract_sv4.php', 'className' => 'tx_svmetaextract_sv4'));
}
if ($extConf['enable.']['sv5']) {
    t3lib_extMgm::addService($_EXTKEY, 'metaExtract', 'tx_svmetaextract_sv5', array('title' => 'PDF meta extraction', 'description' => 'Extract meta data from PDF files using external program "pdfinfo".', 'subtype' => 'pdf', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => 'pdfinfo', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv5/class.tx_svmetaextract_sv5.php', 'className' => 'tx_svmetaextract_sv5'));
}
if ($extConf['enable.']['sv6']) {
    t3lib_extMgm::addService($_EXTKEY, 'metaExtract', 'tx_svmetaextract_sv6', array('title' => 'XMP meta extraction', 'description' => 'Extract XMP meta data from jpg files using PHP.', 'subtype' => 'jpeg, jpg', 'available' => TRUE, 'priority' => 60, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv6/class.tx_svmetaextract_sv6.php', 'className' => 'tx_svmetaextract_sv6'));
}
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// Add the service
t3lib_extMgm::addService($_EXTKEY, 'auth', 'tx_rsaauth_sv1', array('title' => 'RSA authentication', 'description' => 'Authenticates users by using encrypted passwords', 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE', 'available' => TRUE, 'priority' => 60, 'quality' => 60, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv1/class.tx_rsaauth_sv1.php', 'className' => 'tx_rsaauth_sv1'));
// Add a hook to the BE login form
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_loginformhook.php:tx_rsaauth_loginformhook->getLoginFormTag';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_loginformhook.php:tx_rsaauth_loginformhook->getLoginScripts';
// Add a hook to the FE login form (felogin system extension)
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_feloginhook.php:tx_rsaauth_feloginhook->loginFormHook';
// Add a hook to show Backend warnings
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_backendwarnings.php:tx_rsaauth_backendwarnings';
// Use popup window to refresh login instead of the AJAX relogin:
$TYPO3_CONF_VARS['BE']['showRefreshLoginPopup'] = 1;
 /**
  * Registers an authentication service to authorize / grant the indexer to
  * access protected pages.
  *
  * @return void
  */
 protected function registerAuthorizationService()
 {
     $overrulingPriority = $this->getHighestAuthenticationServicePriority() + 1;
     t3lib_extMgm::addService('solr', 'auth', 'Tx_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' => 'Tx_Solr_IndexQueue_FrontendHelper_AuthorizationService'));
 }
<?php

if (!defined('TYPO3_MODE')) {
    die('Access denied.');
}
// Register base authentication service
t3lib_extMgm::addService($_EXTKEY, 'auth', 'tx_sv_auth', array('title' => 'User authentication', 'description' => 'Authentication with username/password.', 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE', 'available' => TRUE, 'priority' => 50, 'quality' => 50, 'os' => '', 'exec' => '', 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'class.tx_sv_auth.php', 'className' => 'tx_sv_auth'));
// 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:tx_sv_loginformhook->getLoginFormTag';
$GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginScripts';