[TYPO3-dev] Create TYPO3 fe_users session

J. Lingott jbl at deweblop.de
Mon Aug 23 11:17:20 CEST 2010


  Implementing an own user authentification, what would be the best way 
to create a session for a specific fe user?

I was thinking to get the user by t3lib_userauth::getUserByUid and 
create a session for it using t3lib_userauth::createUserSession, but no 
idea if it gets initialized properly then.

Background is the login form does not contain the data needed to query 
fe_users and stuff. It is trying to login the user to a different system 
(i.e. not TYPO3) with its own user table. If the authentification of 
that system is valid the specific fe_user's id is selected through a 
sync relation table and a session for that user should be created in 
TYPO3. This is done to gain access to the control of TYPO3 user 
management but having just one table containing all the needed data for 
users.


More information about the TYPO3-dev mailing list