Replaced all tabs with spaces in java and pom.xml
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / WebSecurityConfigImpl.java
index aca0fa5..97b8009 100644 (file)
@@ -34,24 +34,21 @@ import org.springframework.util.StringUtils;
 @Configuration("att-security-config")
 @Order(2)
 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(),",").toString())
-               .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(), ",").toString())
+                .and().httpBasic();
+
+    }
+
+    @Override
+    public void configure(WebSecurity web) throws Exception {
+        super.configure(web);
+        StrictHttpFirewall firewall = new MSOSpringFirewall();
+        web.httpFirewall(firewall);
+    }
 
 }