jinpengyong
2020-07-29 bc6aaea416da40038dee2df1b3de4a1581da2a48
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()