org.springframework.security.access.AccessDeniedException: Access is denied

Spring Security 鉴权,需要结合登录页面输入登录信息。在开发中,可能暂时没有登录窗口,可以先关闭 maven 引用,后续再开启。
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-security</artifactId>
        </dependency>

暂时注释掉,后续将登陆界面弄好,再开启。

【延伸】(不错的文章推荐):

1. 权限鉴定结构(有点不好是:可能需要登录才能完整阅读【该文不错,值得登录一阅】)

 

posted @ 2020-08-12 19:13  BGStone  阅读(4232)  评论(0编辑  收藏  举报