Fixed bug #13662: rsaauth does not work with special characters (like ä ü ö § ) in...
[Packages/TYPO3.CMS.git] / typo3 / sysext / rsaauth / ext_localconf.php
1 <?php
2 if (!defined ('TYPO3_MODE')) {
3 die ('Access denied.');
4 }
5
6 // Add the service
7 t3lib_extMgm::addService($_EXTKEY, 'auth' /* sv type */, 'tx_rsaauth_sv1' /* sv key */,
8 array(
9 'title' => 'RSA authentication',
10 'description' => 'Authenticates users by using encrypted passwords',
11
12 'subtype' => 'getUserBE,authUserBE,getUserFE,authUserFE',
13
14 'available' => TRUE,
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!
17
18 'os' => '',
19 'exec' => '', // Do not put a dependency on openssh here or service loading will fail!
20
21 'classFile' => t3lib_extMgm::extPath($_EXTKEY) . 'sv1/class.tx_rsaauth_sv1.php',
22 'className' => 'tx_rsaauth_sv1',
23 )
24 );
25
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';
29
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';
32
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';
35
36 // Use popup window to refresh login instead of the AJAX relogin:
37 $TYPO3_CONF_VARS['BE']['showRefreshLoginPopup'] = 1;
38 ?>