随笔分类 -  java-springsecurrity

摘要:1.在配置类中实现相关的配置 package com.example.securitydemo.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cont 阅读全文
posted @ 2023-02-16 15:10 斯瓦勃洛 阅读(333) 评论(0) 推荐(0) 编辑
摘要:一.通过配置文件设置用户名和密码 明文方式配置用户名和密码 二。通过配置类设置用户名和密码 package com.example.securitydemo.config; import org.springframework.context.annotation.Bean; import org. 阅读全文
posted @ 2023-02-15 16:50 斯瓦勃洛 阅读(173) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示