Replaced all tabs with spaces in java and pom.xml
[so.git] / asdc-controller / src / main / java / org / onap / so / asdc / WebSecurityConfigImpl.java
index 2383e7d..b45b4f0 100644 (file)
@@ -31,21 +31,18 @@ import org.springframework.util.StringUtils;
 @EnableWebSecurity
 public class WebSecurityConfigImpl extends WebSecurityConfig {
 
-       @Override
-       protected void configure(HttpSecurity http) throws Exception {
-               http.csrf().disable()
-               .authorizeRequests()
-               .antMatchers("/manage/health","/manage/info").permitAll()
-               .antMatchers("/**").hasAnyRole(StringUtils.collectionToDelimitedString(getRoles(),","))
-               .and()
-               .httpBasic();
-       }
-       
-       @Override
-       public void configure(WebSecurity web) throws Exception {
-               super.configure(web);
-               StrictHttpFirewall firewall = new MSOSpringFirewall();
-               web.httpFirewall(firewall);
-       }
+    @Override
+    protected void configure(HttpSecurity http) throws Exception {
+        http.csrf().disable().authorizeRequests().antMatchers("/manage/health", "/manage/info").permitAll()
+                .antMatchers("/**").hasAnyRole(StringUtils.collectionToDelimitedString(getRoles(), ",")).and()
+                .httpBasic();
+    }
+
+    @Override
+    public void configure(WebSecurity web) throws Exception {
+        super.configure(web);
+        StrictHttpFirewall firewall = new MSOSpringFirewall();
+        web.httpFirewall(firewall);
+    }
 
 }