fixed sonar issue in WebSecurityConfigImpl.java 27/61627/1
authorSandeep J <sandeejh@in.ibm.com>
Tue, 21 Aug 2018 15:04:34 +0000 (20:34 +0530)
committerSandeep J <sandeejh@in.ibm.com>
Tue, 21 Aug 2018 15:23:18 +0000 (20:53 +0530)
fixed the sonar issue in the file at line 39

Issue-ID: SO-874
Change-Id: Ic187fa42e81a503e99ff71ab9ab971c21aa82cd3
Signed-off-by: Sandeep J <sandeejh@in.ibm.com>
asdc-controller/src/main/java/org/onap/so/asdc/WebSecurityConfigImpl.java

index bbd7cc0..2383e7d 100644 (file)
@@ -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();
        }