于紫祥_1901
2020-09-10 5f591b85c57ec51e6899a23f2d594921d5fa9871
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()