Fixed the username validator and KustvaktCoreRestTest initMethod.
Change-Id: I2d2547e5aabb0766917c32e4d7ae01b196176f7a
diff --git a/src/main/resources/validation.properties b/src/main/resources/validation.properties
index a38ae80..0a8f4f0 100644
--- a/src/main/resources/validation.properties
+++ b/src/main/resources/validation.properties
@@ -33,5 +33,6 @@
# Validator.string=^[\\.;:,\\=&\\*\\/\\/_()\\[\\]@\\|\\-0-9\\p{L}\\p{Space}]{0,1024}$
#Validator.username=^[A-Za-z_.\\d]{6,15}$ by Hanl
-Validator.username=^[A-Za-z_.\\d]{3,20}$ # 21.04.17/FB
+# 21.04.17/FB
+Validator.username=^[A-Za-z_.\\d]{3,20}$
Validator.password=^((?=.*\\d)(?=.*[A-Za-z])(?!.*[\\(\\)-]).{8,20})$
\ No newline at end of file