Kajona\System\System\UserSourcefactory::authenticateUser

Tries to authenticate a user identified by its username and password.

If given the leightweight user-object is returned. Otherwise null is returned AND an authentication-exception is being raised. Only logins with username and password are allowed. This avoids problems with mis-configured systems such as MS AD.