04 2019 档案

摘要:spring-security-过滤器: 顶级Filter:SecurityContextPersistenceFilter:加载SecurityContext或者创建SecurityContext放在SecurityContextHolder里面。并在所有过滤器执行完之后清空SecurityCon 阅读全文
posted @ 2019-04-11 11:11 cccy0 阅读(239) 评论(0) 推荐(0)
摘要:需要把logback.xml文件放在类路径下,如果是spring boot项目可以用 logging.config=classpath:log/xxxxxx.xml来指定配置文件 logback layout可以参考: https://logback.qos.ch/manual/layouts.ht 阅读全文
posted @ 2019-04-08 13:57 cccy0 阅读(1259) 评论(0) 推荐(0)
摘要:title: 如何单独使用spring data jpa 引用pom文件: 编写配置类: 测试代码: 阅读全文
posted @ 2019-04-03 11:11 cccy0 阅读(1413) 评论(0) 推荐(0)