[FEATURE] Trigger execution of a specific task from CLI
[Packages/TYPO3.CMS.git] / typo3 / sysext / sv / ext_localconf.php
1 <?php
2 if (!defined('TYPO3_MODE')) {
3 die('Access denied.');
4 }
5
6 // Register base authentication service
7 t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */, 'tx_sv_auth' /* sv key */,
8 array(
9
10 'title' => 'User authentication',
11 'description' => 'Authentication with username/password.',
12
13 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE,processLoginDataBE,processLoginDataFE',
14
15 'available' => TRUE,
16 'priority' => 50,
17 'quality' => 50,
18
19 'os' => '',
20 'exec' => '',
21
22 'classFile' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_sv_auth.php',
23 'className' => 'tx_sv_auth',
24 )
25 );
26
27 // Add hooks to the backend login form
28 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginFormTag';
29 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginScripts';
30
31 ?>