Does anybody has made loginAuthentication with 3 params.
I need to do login of a user by specifing for example username, password and group in which he belongs.
In this way by the third param I will decide with which roles to authenticate him ( these are the roles which belongs to the group the user has choose).