In case I want to change the way alfresco is naming the external invited username to a site (email and not firstname_lastname), what I should do?
And I want to automatically enable the externlal invited user by default
You can override "nameBasedUserNameGenerator" component to change the way users are named in Alfresco by default.
alfresco-repository/authentication-services-context.xml at master · Alfresco/alfresco-repository · GitHub
To enable external user invitation panel, follow this instructions:
Enabling External Users panel | Alfresco Documentation
What about make them enable by default. Any idea?
This discussion helped me to override the class and it works well:
Retrieving data ...