[Typo3] FeUser authentification
Pierre Rouwens
prouwens at infoglobe.ca
Sun Sep 25 21:42:22 CEST 2005
Hi,
mmmm i've looked deeper in the ldap_auth extension, and it seems that
there is a file i don't have ext_localconf.php ... and in it some code
that seems tell to typo3 that the auth service is overclassed....
am i right ?
do i have to create this kind of file ?
Thanks for any clues
Pierre
Pierre Rouwens a écrit :
> Hi,
>
> this is part of code ... (i've tried to base it from cc_svauthdemo
> extension)
>
> require_once(PATH_t3lib.'class.t3lib_svbase.php');
> class.my_class extends tx_sv_authbase {
> function authUser(&$user) {
> global $TYPO3_CONF_VARS;
> $OK=100;
> if($this->login['uname']) {
> $OK=200;
> }
> return $OK;
> }
> }
>
> but i can't login... i surely misunderstood something here... but what ?
>
> thanks for any clues.
>
> Pierre
>
>
> Pierre Rouwens a écrit :
>
>>Hi listers,
>>
>>I'm trying to create an extension to authenticate FeUsers, i'm using
>>typo3 3.8 and i saw in the source code that i have to use 'auth' service
>>to do it cleanly... but i can't find more explanation about it... i've
>>looked into others extensions like ldap_auth... it seems i have to
>>extend tx_sv_authbase ... and if i return >=200 the authentification is
>>ok...
>>is this right ?
>>Cause i've tried only to test to create a class extending tx_sv_authbase
>>and directly return 200 ... and i can't login
>>Where did i fail please ?
>>
>>Thanks for any clues, hints or anything else :)
>>
>>Pierre
More information about the TYPO3-english
mailing list