[TYPO3-dev] Create and login temp user

Xavier Perseguers typo3 at perseguers.ch
Thu Mar 12 11:34:55 CET 2009


Hi,

>> I would have a look at one of the multiple extensions that 
>> authenticate against another provider (such as LDAP for instance). 
>> They dynamically create users with data synchronized from the other 
>> repository.
> 
> Thank you, I took a look at LDAP but I can't find any spot where e.g. 
> $GLOBALS['TSFE'] is used or anything that looks like setting a session 
> cookie or something.
> Which class handles the GET-Param "logintype"? I think I have to search 
> there.

Well, AFAIR extension eu_ldap creates a record in fe_users and then let 
TYPO3 handle the creation of session cookie and the rest. Meaning if you 
manage to make your own authentication provider (for authenticating your 
guests user), then the rest should be automatically done for you by the 
TYPO3 authentication service.

-- 
Xavier Perseguers
http://xavier.perseguers.ch/en/tutorials/typo3.html




More information about the TYPO3-dev mailing list