I am using TYPO3 4.5 and have to authenticate fe_users and be_users from an external source.
In my extension I have subclassed tx_sv_authbase and implemented the getUser() and authUser() functions.
For fe_users everything works fine! Depending on what I return in authUser() the login happens or not.
But I can't get it to work for be_users. Shouldn't it work exactly the same? No matter if I return 200 or true, I can't login with my extension. What could be the reason for this? Any hints?
I got it to work now! Also the RSA encryption system which is default in TYPO3 6.2 is awesome! :)
The problem was in my getUser() function. There you have to map to existing users (if your user names from the external source aren't also contained in the TYPO3 database) and I forgot that my backend user name is different to my frontend user name.
The other confusing thing was that for some changes to take effect you always have to delete the cache files in typo3conf. This costed me some time. :)