How to get past the Authentication Required Spring-boot Security

前端 未结 5 1149
无人共我
无人共我 2021-02-12 17:18

I have put in the password which is \"root\" and it keeps popping back up. How can I suppress this or get rid of it. I am using spring boot and spring security.

5条回答
  •  無奈伤痛
    2021-02-12 17:57

    This class has to be in a parent package of all other packages: WebSecurityConfig. Also in application.properties set:

    security.basic.enabled=false
    

提交回复
热议问题