TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv

Die TYPO3 Mailingliste - nicht fragen: lesen!

[TYPO3] Make extension working on older typo3 version - Login withApache HTTP login

This is a discussion on [TYPO3] Make extension working on older typo3 version - Login withApache HTTP login within the typo3-english@lists.netfielders.de forums, part of the TYPO3-Mailinglists: ENGLISH category; Hi, I installed Login with Apache HTTP login on typo3 4.1.1 and it works perfectly. The extension authorizes ...


Zurück   TYPO3Jack.net - Das TYPO3 Mailinglist Forum Archiv > TYPO3-Mailinglists: ENGLISH > typo3-english@lists.netfielders.de

Registrieren Hilfe Benutzerliste Kalender Suchen Heutige Beiträge Alle Foren als gelesen markieren
  #1  
Alt 08.05.2007, 13:01
Rafal Markut
Gast
 
Beiträge: n/a
Standard [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 (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
  #2  
Alt 08.05.2007, 14:36
Rafal Markut
Gast
 
Beiträge: n/a
Standard Re: [TYPO3] Make extension working on older typo3 version - LoginwithApache HTTP login

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 (DOT) de>
To: <TYPO3-english (AT) lists (DOT) 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 (DOT) netfielders.de
> http://lists.netfielders.de/cgi-bin/.../typo3-english
>


_______________________________________________
TYPO3-english mailing list
TYPO3-english (AT) lists (DOT) netfielders.de
http://lists.netfielders.de/cgi-bin/.../typo3-english
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Wong this Post!Spurl this Post!Reddit! Diesen Post bei linksilo.de bookmarken!
 

Themen-Optionen Thema durchsuchen
Thema durchsuchen:

Erweiterte Suche
Ansicht Thema bewerten
Thema bewerten:

Forumregeln
Es ist dir nicht erlaubt, neue Themen zu verfassen.
Es ist dir nicht erlaubt, auf Beiträge zu antworten.
Es ist dir nicht erlaubt, Anhänge hochzuladen.
Es ist dir nicht erlaubt, deine Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Trackbacks are an
Pingbacks are an
Refbacks are an


Ähnliche Themen

Thema Autor Forum Antworten Letzter Beitrag
[TYPO3] Your login probably expired... hard.one - mphanke typo3-english@lists.netfielders.de 2 20.09.2007 23:33
[TYPO3] error after login a owen typo3-english@lists.netfielders.de 0 02.03.2007 02:46
[TYPO3] No 'Hide at login' Bing Du typo3-english@lists.netfielders.de 1 06.02.2007 18:44
[TYPO3-german] BE login Felix Lange typo3-german@lists.netfielders.de 1 22.01.2007 04:18
[TYPO3] newloginbox and first login Andrea Giorgini typo3-english@lists.netfielders.de 5 10.12.2006 10:27


Alle Zeitangaben in WEZ +1. Es ist jetzt 01:19 Uhr.


Powered by vBulletin® Version 3.7.2 (Deutsch)
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74