[
https://issues.apache.org/jira/browse/STRATOS-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14370746#comment-14370746
]
Vishanth commented on STRATOS-1269:
-----------------------------------
It is because the UsernameRegEx has specified minimum of 3 and upto 30
characters, therefore the carbon will allow users to be added with minimum of 3
characters.
We need to validate in the UI according to the values provided in RegEx in the
user-mgt-xml [1].
[1] - <STRATOS_HOME>/repository/conf/user-mgt.xml
> Adding a User -UI
> -----------------
>
> Key: STRATOS-1269
> URL: https://issues.apache.org/jira/browse/STRATOS-1269
> Project: Stratos
> Issue Type: Bug
> Components: UI
> Affects Versions: 4.1.0 Alpha
> Reporter: Shavindri Dissanayake
> Priority: Minor
> Attachments: Error note.png
>
>
> When giving a User name, if the user name is less than 4 characters, an error
> message is shown [1].
> I mistakenly clicked on "Add User" despite this error message and the user
> got added to the system.
> Therefore the management console should validate this and restrict a new user
> being added when an error message is shown or the error message popping up
> should be removed if it is not required.
> [1] "Value must be at least 4 characters long."
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)