05-15-2018 07:49 AM
Hello Alfresco Users!
I am currently using the latest version of Alfresco Community Edition.
When I or another user invites an external user, they may sometimes use capital letters for the first letter of the firstname and surname.
Which you think is correct right?
If I was inviting John Doe to my Alfresco I would type his details into the Add External Users box like this:
First Name: John
Last Name: Doe
Email: john.doe@helpme.com
But for some reason, his username is generated case sensitive using the details that I have entered so he would have to log in as John_Doe not john_doe. This is a pain!
and sometimes, our users typo the first and lastname and do something like jOhn_Doe or john_Doe and then thats an even bigger pain.
How do I fix this? I have followed the case insensitive how tos on the Alfresco Docs but that doesnt seem to work
I am using PostgresQL with this
Can this be fixed permanently? Can I correct existing users?
Thanks in advance,
RKEN
05-16-2018 06:09 AM
I didn't heard about this before.
NameBasedUserNameGenerator class (https://github.com/Alfresco/alfresco-repository/blob/d8f828324419f101d6e1f7a19020864d801b3b64/src/ma...) is using email account to provide user name. But lower case is applied in every case.
05-16-2018 06:46 AM
Hi Angel,
Thanks for your response
That file shows the username would be lastname_firstname however when you get an external user invite it is definitely firstname_lastname and is case sensitive for example one of our external users has to log in with "Mary_jones"
Is that file being ignored?
How would you go about troubleshooting this?
Our internal users auth using our Active Directory and therefore the usernames are whatever is used on the AD but any Alfresco Created users seem to be case sensitive unfortunately.
05-16-2018 07:20 AM
No, the format is "firstname_lastname". It's overridden by Spring configuration.
If you didn't overwrote this beans, this is default configuration.
Explore our Alfresco products with the links below. Use labels to filter content by product module.