cancel
Showing results for 
Search instead for 
Did you mean: 

Authentication by mail instead of a login

sofia
Champ in-the-making
Champ in-the-making
Hello Community,

Is it possible to change the authentication mode to use email adress instead of the login (Username) ? If yes, how can we do it ?


Regards,
Sofia.
5 REPLIES 5

mrogers
Star Contributor
Star Contributor
The simplest solution would be to use an email address for a user id. 

And do not turn on multi tenancy.

sofia
Champ in-the-making
Champ in-the-making
Hi, Thank you for replying.
But it concerns LDAP connection and Liferay, so I need  authentication by mail in alfresco.

Regards,
Sofia.

fstnboy
Champ on-the-rise
Champ on-the-rise
Hi Sophia,

You will need to overwrite the AuthenticationComponent, retrieve a person node by the email and authenticate using that person node and the password provided.

Check AbstractAuthenticationComponent and all it's implementations.

soloff
Champ in-the-making
Champ in-the-making
Thanks! it works with Repo, and what about Share?

mlagneaux
Champ on-the-rise
Champ on-the-rise
In LDAP synchronization configuration, you can map LDAP mail attribute with Alfresco username property.