a8e69093c3e637a9781370028a618bb1f7889beb
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
7 t3lib_extMgm
::addService($_EXTKEY, 'auth' /* sv type */, 'tx_rsaauth_sv1' /* sv key */,
9 'title' => 'RSA authentication',
10 'description' => 'Authenticates users by using encrypted passwords',
12 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE',
15 'priority' => 60, // tx_svauth_sv1 has 50, t3sec_saltedpw has 55. This service must have higher priority!
16 'quality' => 60, // tx_svauth_sv1 has 50. This service must have higher quality!
19 'exec' => '', // Do not put a dependency on openssh here or service loading will fail!
21 'classFile' => t3lib_extMgm
::extPath($_EXTKEY) . 'sv1/class.tx_rsaauth_sv1.php',
22 'className' => 'tx_rsaauth_sv1',
26 // Add a hook to the BE login form
27 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginFormHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_loginformhook.php:tx_rsaauth_loginformhook->getLoginFormTag';
28 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['typo3/index.php']['loginScriptHook'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_loginformhook.php:tx_rsaauth_loginformhook->getLoginScripts';
30 // Add a hook to the FE login form (felogin system extension)
31 $GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['felogin']['loginFormOnSubmitFuncs'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_feloginhook.php:tx_rsaauth_feloginhook->loginFormHook';
33 // Add a hook to show Backend warnings
34 $GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['t3lib/class.t3lib_befunc.php']['displayWarningMessages'][$_EXTKEY] = 'EXT:' . $_EXTKEY . '/hooks/class.tx_rsaauth_backendwarnings.php:tx_rsaauth_backendwarnings';