Setting Minimum Length for Username and Password - Setting Minimum Length for Username and Password - Alfresco - Alfresco Content Services - Alfresco/Alfresco-Content-Services/23.4/Alfresco-Content-Services/Develop/Share-UI-Extension-Points/Share-Configuration/Setting-Minimum-Length-for-Username-and-Password - 23.4 - 23.4

Alfresco Content Services

Platform
Alfresco
Product
Alfresco Content Services
Release
23.4
License
ft:lastPublication
2026-04-22T22:35:19.567073
ft:locale
en-US

This information describes how to change the minimum length of the Share user name and password.

  1. Open the <web-extension>/share-config-custom.xml file.
  2. Search for the text “username”. You see the following configuration:
    <config evaluator="string-compare" condition="Users">
      <users>
         <!-- minimum length for username and password -->
         <username-min-length>2</username-min-length>
         <password-min-length>3</password-min-length>
      </users>
    </config>                                 
    
  3. Change the value of <username-min-length> and <password-min-length>.