Hi, im new in Alfresco, i have configured the LDAP sync to my AD and it's working well, now i want to configure the login username input for ignore the text following the '@'.
I have configured this on alfresco-global.properties.
ldap.authentication.userNameFormat = %s@domain.xx
I need, in case an email is entered, only use the email fragment before @.
Is this possible?
What file do I need to modify to do this?
I thought of doing a "split" to the login input, but I don't know where the file is on the server.
Thank you so much.
You could configurate an additional LDAP with:
ldap.authentication.userNameFormat = %s
So both formats are accepted.
Hi @angelborroy , thanks for your answer.
But I think it's not what I'm looking for, if I put this it will use the full email to log in, I guess.
I have two email accounts that are 'user@mail1' and 'user@mail2' that belong to the same user. This user wants to be validated with a single account (only with the "user" of both of the emails) regardless of the email that he enters for the validation.
Is there any way to do this configuration?
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.