/api-url has an empty filter list in Spring Boot Security

后端 未结 2 1672
佛祖请我去吃肉
佛祖请我去吃肉 2020-12-17 18:10

A Spring Boot app with REST services has to allow public access to certain services, while restricting other services to only authorized users. When a configure(WebSe

2条回答
  •  情话喂你
    2020-12-17 18:34

    I think what you have done is made the /error view a protected resource. Either open it up or stop using @EnableWebSecurity (it switches off some stuff that spring boot would have done for you otherwise).

提交回复
热议问题