Experimentally I receive the user-name of the local user (logged in at a domain-controller) via NTLM -->
I would like to use this user-name to automatically log in this user after he started q2a.
Because only the information of the username is given by external source, the q2a internal user profiles should be used furthermore.
(the q2a single-sign on module" requires, that all user data (profile, picture etc) are provided by the external source - so this is why I can't use this out of the box)
Where is the best location in the code to do this?
So what I'm seeking for is:
Use Q2A internal profiles -- but instead of manual user login:
Take the system information about the user who gets identified by the NTLM info (NT-user logged in at a domain).
What I have e.g. is a php function which returns a user name from external. Where should I go with this information to automatically log in a user who opens q2a?
--> if the user is known in the q2a database (same name): just login
--> if the user is unknown: open initial profile page to let the user add profile information...
what I'm playing around with is the mechanism used to read out the cookie and replace something in there -- but this feels like a dirty hack - isn't it?