[TYPO3-core] RFC: #6784: new sysext fe_login

Steffen Ritter info at rs-websystems.de
Tue Jan 15 00:53:59 CET 2008


Steffen Kamper schrieb:
> "Steffen Ritter" <info at rs-websystems.de> schrieb im Newsbeitrag 
> news:mailman.1.1200325341.9261.typo3-team-core at lists.netfielders.de...
>> Helmut Hummel schrieb:
>>> Steffen Ritter schrieb:
>>>>  So please come over how where and how to set the
>>>> config switch.
>>> This is already being discussed in thread:
>>> "RFC: Feature Request #7139: Integration of fe_users password 
>>> encryption", because Steffen was faster than you ;)
>>>
>> That's nice, in addition to #7139 I'm integrating kb_md5fepw to felogin 
>> slightly modified.
>> Simple md5 pw's will be possible due to #7139, we saw.
>>
>> kb_md5fepw copy in felogin will extend md5-login in #7139 with the 
>> superchallenged login. So if $TYPO3_CONF_VAR['FE']['loginSecurityLevel'] 
>> is set to superchallenged, Box from felogin will be expanded with the JS 
>> Code we know from kb_md5fepw.
>>
>> With this, we have all de-facto standard possibilities in core and users 
>> might decide which security level he wants to use.
> 
> great news :-)
> 
> vg  Steffen 
> 
> 
Well, I did id so far. Additional table is created, login box gets 
extended by js code, challenge code and so on. JS works. AUTH-service 
only get's loaded if needed... But: the authUser() Function of the 
service is never called. Auth service is registered correctly (as a 
print_r of $T3_SERVICES showed). I read through service api and all 
classes which come in touch with authentification. As I considered 
there's nothing "lost" which should prevent authUser in the service to 
be called. But what could be the reason not to happen (priority change 
has no effect).
The service class itself is a simple copy of Bernhard Krafts (with 
changed table and extensionname), the service loaded in ext_localconf as 
written below:

if ($TYPO3_CONF_VARS['FE']['passwordType'] == 'md5' && 
$TYPO3_CONF_VARS['FE']['loginSecurityLevel'] == 'superchallenged') {
t3lib_extMgm::addService($_EXTKEY,  'auth' /* sv type */,  'tx_felogin' 
/* sv key */,
     array(

       'title' => 'FE MD5 authentication with superchallenge',
       'description' => 'Performs the server side part of the challenge 
response authentication.',

       'subtype' => 'authUserFE',

       'available' => true,
       'priority' => 50,
       'quality' => 50,

       'os' => '',
       'exec' => '',

       'classFile' => 
t3lib_extMgm::extPath($_EXTKEY).'sv1/class.tx_felogin_sv1.php',
       'className' => 'tx_felogin_sv1',
     )
   );	

So far...

Steffen


More information about the TYPO3-team-core mailing list