I followed the lines of this article here - LdapExtLoginModule
The adapted code seems to work, but I would like to be able to list the Groups a user is member of and also the Roles.
I am not sure if the parametrization is OK to do that nor how to do this programatically.