[TYPO3] Make extension working on older typo3 version - Login withApache HTTP login
Rafal Markut
rafal.markut at mediawave.de
Tue May 8 14:36:19 CEST 2007
Hi,
I see that it cannot work because in 3.7.0 authorization works bit diffrent.
It doesn't allow to make it in services/extensions.
i.e. file class.t3lib_userauth.php in 4.1.1 has:
...
if ($row=$serviceObj->getUser()) {
...
so it calls getUser method(s) from services.
but in 3.7.0 it calls directly from DB and don't ask any extension about it.
It looks like that I need to change source code - add code which asks HTTP
if there is user in class.t3lib_userauth.php in check_authentication.
It's not a nice solution.
Do you know a better solution ?
with best regards,
Rafal
----- Original Message -----
From: "Rafal Markut" <rafal.markut at mediawave.de>
To: <TYPO3-english at lists.netfielders.de>
Sent: Tuesday, May 08, 2007 1:01 PM
Subject: [TYPO3] Make extension working on older typo3 version - Login
withApache HTTP login
> Hi,
>
> I installed Login with Apache HTTP login on typo3 4.1.1 and it works
> perfectly. The extension authorizes users which are logged-in per
> Apache-HTTP.
>
> I need it on typo3 3.7.0. When I install it then typo doesn't show any
> errors - it's installed without any problems. But it doesn't work.
> So it seems that extension definition is correct also on 3.7.0.
>
> Extension is using only one class: class tx_apacheauth_sv1, which extends
> tx_sv_authbase.
>
> This class (tx_sv_authbase) is also on 3.7.0. What's more this class is
> almost this same in both typo versions.
>
> tx_apacheauth_sv1 contains two methods: getUser() and authUser($user). It
> seems that when any page of typo3 is called then these methods are also
> called (to check authorization). They are called on 4.1.1 but not on
> 3.7.0.
>
> Does anyone have idea what could it be ? How could I make it working ?
>
> Unfortunately email of extension's owner doesn't exist anymore.
>
> with best regards,
> Rafal
>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>
More information about the TYPO3-english
mailing list