TYPO3 API  SVNRelease
ext_localconf.php
Go to the documentation of this file.
00001 <?php
00002 if (!defined ('TYPO3_MODE'))    die ('Access denied.');
00003 
00004     // Register base authentication service
00005 t3lib_extMgm::addService($_EXTKEY,  'auth' /* sv type */,  'tx_sv_auth' /* sv key */,
00006         array(
00007 
00008             'title' => 'User authentication',
00009             'description' => 'Authentication with username/password.',
00010 
00011             'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE,getGroupsFE',
00012 
00013             'available' => TRUE,
00014             'priority' => 50,
00015             'quality' => 50,
00016 
00017             'os' => '',
00018             'exec' => '',
00019 
00020             'classFile' => t3lib_extMgm::extPath($_EXTKEY).'class.tx_sv_auth.php',
00021             'className' => 'tx_sv_auth',
00022         )
00023     );
00024 
00025     // Add hooks to the backend login form
00026 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginFormTag';
00027 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/class.tx_sv_loginformhook.php:tx_sv_loginformhook->getLoginScripts';
00028 
00029 ?>