随笔分类 - java-springsecurrity
摘要:1.在配置类中实现相关的配置 package com.example.securitydemo.config; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.cont
阅读全文
摘要:一.通过配置文件设置用户名和密码 明文方式配置用户名和密码 二。通过配置类设置用户名和密码 package com.example.securitydemo.config; import org.springframework.context.annotation.Bean; import org.
阅读全文