X-Git-Url: http://git.typo3.org/Packages/TYPO3.CMS.git/blobdiff_plain/e7c4ac8302f62e4b611da4f5e397cd231ee1da47..c5741aa9f3514d7e82caadf24f959555c2a5ae7f:/typo3/sysext/openid/ext_localconf.php diff --git a/typo3/sysext/openid/ext_localconf.php b/typo3/sysext/openid/ext_localconf.php index 7a7859737dc7..95be8d349b84 100644 --- a/typo3/sysext/openid/ext_localconf.php +++ b/typo3/sysext/openid/ext_localconf.php @@ -3,33 +3,44 @@ if (!defined('TYPO3_MODE')) { die('Access denied.'); } + // Register OpenID pocessing service with TYPO3 -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_openid_service_process', array( - 'title' => 'OpenID Authentication', - 'description' => 'OpenID processing login information service for Frontend and Backend', - 'subtype' => 'processLoginDataBE,processLoginDataFE', - 'available' => TRUE, - 'priority' => 35, - // Must be lower than for \TYPO3\CMS\Sv\AuthenticationService (50) to let other processing take place before - 'quality' => 50, - 'os' => '', - 'exec' => '', - 'className' => 'TYPO3\\CMS\\Openid\\OpenidService' -)); +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService( + $_EXTKEY, + 'auth', + 'tx_openid_service_process', + array( + 'title' => 'OpenID Authentication', + 'description' => 'OpenID processing login information service for Frontend and Backend', + 'subtype' => 'processLoginDataBE,processLoginDataFE', + 'available' => TRUE, + 'priority' => 35, + // Must be lower than for \TYPO3\CMS\Sv\AuthenticationService (50) to let other processing take place before + 'quality' => 50, + 'os' => '', + 'exec' => '', + 'className' => 'TYPO3\\CMS\\Openid\\OpenidService' + ) +); // Register OpenID authentication service with TYPO3 -\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService($_EXTKEY, 'auth', 'tx_openid_service', array( - 'title' => 'OpenID Authentication', - 'description' => 'OpenID authentication service for Frontend and Backend', - 'subtype' => 'getUserFE,authUserFE,getUserBE,authUserBE', - 'available' => TRUE, - 'priority' => 75, - // Must be higher than for \TYPO3\CMS\Sv\AuthenticationService (50) or \TYPO3\CMS\Sv\AuthenticationService will log failed login attempts - 'quality' => 50, - 'os' => '', - 'exec' => '', - 'className' => 'TYPO3\\CMS\\Openid\\OpenidService' -)); +\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addService( + $_EXTKEY, + 'auth', + 'tx_openid_service', + array( + 'title' => 'OpenID Authentication', + 'description' => 'OpenID authentication service for Frontend and Backend', + 'subtype' => 'getUserFE,authUserFE,getUserBE,authUserBE', + 'available' => TRUE, + 'priority' => 75, + // Must be higher than for \TYPO3\CMS\Sv\AuthenticationService (50) or \TYPO3\CMS\Sv\AuthenticationService will log failed login attempts + 'quality' => 50, + 'os' => '', + 'exec' => '', + 'className' => 'TYPO3\\CMS\\Openid\\OpenidService' + ) +); // Register eID script that performs final FE user authentication. It will be called by the OpenID provider $GLOBALS['TYPO3_CONF_VARS']['FE']['eID_include']['tx_openid'] = 'EXT:openid/class.tx_openid_eid.php';