From 533a86008aef018ad7de16ce09070d374c7dae16 Mon Sep 17 00:00:00 2001 From: Sandeep J Date: Tue, 21 Aug 2018 20:34:34 +0530 Subject: fixed sonar issue in WebSecurityConfigImpl.java fixed the sonar issue in the file at line 39 Issue-ID: SO-874 Change-Id: Ic187fa42e81a503e99ff71ab9ab971c21aa82cd3 Signed-off-by: Sandeep J --- .../src/main/java/org/onap/so/asdc/WebSecurityConfigImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/asdc-controller/src/main/java/org/onap/so/asdc/WebSecurityConfigImpl.java b/asdc-controller/src/main/java/org/onap/so/asdc/WebSecurityConfigImpl.java index bbd7cc06e3..2383e7d810 100644 --- a/asdc-controller/src/main/java/org/onap/so/asdc/WebSecurityConfigImpl.java +++ b/asdc-controller/src/main/java/org/onap/so/asdc/WebSecurityConfigImpl.java @@ -36,7 +36,7 @@ public class WebSecurityConfigImpl extends WebSecurityConfig { http.csrf().disable() .authorizeRequests() .antMatchers("/manage/health","/manage/info").permitAll() - .antMatchers("/**").hasAnyRole(StringUtils.collectionToDelimitedString(getRoles(),",").toString()) + .antMatchers("/**").hasAnyRole(StringUtils.collectionToDelimitedString(getRoles(),",")) .and() .httpBasic(); } -- cgit 1.2.3-korg