diff options
author | Bruno Sakoto <bruno.sakoto@bell.ca> | 2021-04-07 12:55:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2021-04-07 12:55:41 +0000 |
commit | 6b300ead182d9724658f0188631e538851e8f566 (patch) | |
tree | 5f48c8b2c2e70884a7fbb0be66e32bd99ae149f4 /cps-application/src | |
parent | 4b8ae57149d157cfe8619f99dd8fb82e067f26ce (diff) | |
parent | 6e4ce6970552917c0f35617164017d93bd6b2f1b (diff) |
Merge "Fix security hotspots n Regex"
Diffstat (limited to 'cps-application/src')
-rw-r--r-- | cps-application/src/main/java/org/onap/cps/config/WebSecurityConfig.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cps-application/src/main/java/org/onap/cps/config/WebSecurityConfig.java b/cps-application/src/main/java/org/onap/cps/config/WebSecurityConfig.java index fbf1be9a18..93a3a6ed2b 100644 --- a/cps-application/src/main/java/org/onap/cps/config/WebSecurityConfig.java +++ b/cps-application/src/main/java/org/onap/cps/config/WebSecurityConfig.java @@ -55,7 +55,7 @@ public class WebSecurityConfig extends WebSecurityConfigurerAdapter { @Autowired @Value("${security.auth.password}") final String password ) { super(); - this.permitUris = permitUris.isEmpty() ? new String[] {"/v3/api-docs"} : permitUris.split("\\s*,\\s*"); + this.permitUris = permitUris.isEmpty() ? new String[] {"/v3/api-docs"} : permitUris.split("\\s{0,9},\\s{0,9}"); this.username = username; this.password = password; } |