fengxiang
2018-08-17 2d0b1b3da347f201cfe608e426fb2b7fdb9629a7
src/main/java/com/moral/security/config/WebSecurityConfig.java
@@ -121,6 +121,8 @@
                .antMatchers(permitAllEndpointList.toArray(new String[permitAllEndpointList.size()]))
                .permitAll()
            .and()
                .headers().frameOptions().disable()
            .and()
                .authorizeRequests()
                .antMatchers(API_ROOT_URL).authenticated() // Protected API End-points
            .and()