You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stratos.apache.org by da...@apache.org on 2015/05/04 08:56:33 UTC

[2/2] stratos git commit: Match user name pattern with user-mgt.xml [JRA-1269]

Match user name pattern with user-mgt.xml [JRA-1269]


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/4d993620
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/4d993620
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/4d993620

Branch: refs/heads/master
Commit: 4d9936209d41b99ed493c1f5163e699edba7d2b4
Parents: 4040df6
Author: Dakshika Jayathilaka <si...@gmail.com>
Authored: Mon May 4 12:24:36 2015 +0530
Committer: Dakshika Jayathilaka <si...@gmail.com>
Committed: Mon May 4 12:24:36 2015 +0530

----------------------------------------------------------------------
 .../console/controllers/forms/schema/users/users.json             | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/4d993620/components/org.apache.stratos.manager.console/console/controllers/forms/schema/users/users.json
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/users/users.json b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/users/users.json
index bcec499..30dfdec 100644
--- a/components/org.apache.stratos.manager.console/console/controllers/forms/schema/users/users.json
+++ b/components/org.apache.stratos.manager.console/console/controllers/forms/schema/users/users.json
@@ -30,8 +30,9 @@
             "id": "root/userName",
             "title": "User Name",
             "name": "User Name",
-            "minLength":2,
+            "minLength":3,
             "required":true,
+            "pattern":"^[^~!#$;%^*+={}\\|\\\\&lt;&gt;,\'\"]{3,30}$",
             "default": ""
         },
         "credential": {