TYPO3 CMS  TYPO3_6-2
BackendHookForAjaxLogin.php
Go to the documentation of this file.
1 <?php
3 
17 
29  public function addRsaJsLibraries(array $configuration, \TYPO3\CMS\Backend\Controller\BackendController $backendController) {
30  $javascriptPath = \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extRelPath('rsaauth') . 'resources/';
31  $files = array(
32  'jsbn/jsbn.js',
33  'jsbn/prng4.js',
34  'jsbn/rng.js',
35  'jsbn/rsa.js',
36  'jsbn/base64.js'
37  );
38  foreach ($files as $file) {
39  $backendController->getPageRenderer()->addJsLibrary($file, $javascriptPath . $file);
40  }
41  }
42 }
addRsaJsLibraries(array $configuration, \TYPO3\CMS\Backend\Controller\BackendController $backendController)