From a799de89c4093a9e3afdc93d6b256941d9948d63 Mon Sep 17 00:00:00 2001 From: Sean Kavanagh <sean.p.kavanagh6@gmail.com> Date: Tue, 30 Oct 2018 05:50:43 -0400 Subject: [PATCH] Added more special chars to regex Added more special chars to password complexity regex --- src/main/resources/EC2BoxConfig.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/EC2BoxConfig.properties b/src/main/resources/EC2BoxConfig.properties index 63a99450..00fe2af6 100755 --- a/src/main/resources/EC2BoxConfig.properties +++ b/src/main/resources/EC2BoxConfig.properties @@ -44,7 +44,7 @@ useEC2PvtDNS=false #Use private IP for instances useEC2PvtIP=false #Regular expression to enforce password policy -passwordComplexityRegEx=((?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*()+=]).{8\,20}) +passwordComplexityRegEx=((?=.*\\d)(?=.*[A-Z])(?=.*[a-z])(?=.*[!@#$%^&*()_=\\[\\]{};':"\\\\|\,.<>\\/?+-]).{8\,20}) #Password complexity error message passwordComplexityMsg=Passwords must be 8 to 20 characters\, contain one digit\, one lowercase\, one uppercase\, and one special character #HTTP header to identify client IP Address - 'X-FORWARDED-FOR'