I have implemented the SAML module, but in our login system, email addresses (which are the usernames) are pretty inconsistent in terms of lower/uppercase.
Therefore, I would like to put the SAML username always to lowercase when a user signs in, but since the module is huge, I am wondering if anyone else can point me to the correct Java file to implement this change. Unfortunately, CustomLoginLogic is not the correct place, since this is only kicked of when a user is found in the database...