[TYPO3-dev] authUser() not used

Marcel Utz utz.marcel at googlemail.com
Sat Dec 20 09:51:47 CET 2014


Hi guys,

I'm trying to create my own authentication service for TYPO3. The services itself works fine, I check the user in the function getUser() to another database. But when I'm working with authUser() there is a problem. When I delete the function authUser() in "\TYPO3\CMS\Sv\AuthenticationService" (no other auth service installed) the login still works fine. So the function authUser() is not used by typo3 auth. This issue I got with TYPO3 Version 6.0.4 and 4.7.8. Do you have any idea why the function authUser() is not used? 

What I want to do is if a user has a special group, the user should be authenticated by my own service and if not authenticated, there should be no other authentication service used. As far as I know, this could be only done by authUser(), because only this function can cancel the auth process so that no other auth service is called. So the return of authUser() should be "0". Setting return of authUser() to "0" still doesn't stop the login process.

Hope there is good advice!

Best

marcel



More information about the TYPO3-dev mailing list