Replaced all tabs with spaces in java and pom.xml
[so.git] / adapters / mso-requests-db-adapter / src / main / java / org / onap / so / adapters / requestsdb / WebSecurityConfigImpl.java
index 9f52160..a2c1f13 100644 (file)
@@ -30,22 +30,19 @@ 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(),",").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);
+    }
 
 }