[
https://issues.apache.org/jira/browse/STRATOS-1269?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14604545#comment-14604545
]
Lasindu Charith edited comment on STRATOS-1269 at 6/28/15 5:47 AM:
-------------------------------------------------------------------
The added pattern does not properly validate usernames. (Try adding a username
which contains characters 'l,g,t'). Need to update with a JS regex
corresponding to the java regex.
was (Author: lasindu):
The added pattern does not properly validate usernames. (Try adding a username
which contains characters 'l,g,t'). Need to update with a JS regex
corresponding to the java regex ^[^~!#$;%^*+={}\\|\\\\<>,\'\"]{3,30}$
> 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
> Assignee: Dakshika Jayathilaka
> 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)