会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
食惯嘴第一才子
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
下一页
2019年11月25日
springsecurity学习
摘要: 首先讲一下,没有用到数据库,然后觉得重要的就是security的配置securityConfig.class,不太会说(好像也不太会用),上图吧,也是学习狂神过来的 项目结构 大致效果 pom.xml <dependencies> <!-- thymeleaf整合security --> <depe
阅读全文
posted @ 2019-11-25 11:16 白石雁归南
阅读(411)
评论(0)
推荐(0)
2019年11月23日
Swagger学习(四、配置API文档的分组)
摘要: 完整示例 代码结构 运行效果 SwaggerConfig.class @Configuration //变成配置文件 @EnableSwagger2 //开启swagger2 public class SwaggerConfig { @Bean public Docket docket01(){ r
阅读全文
posted @ 2019-11-23 14:32 白石雁归南
阅读(9035)
评论(0)
推荐(0)
Swagger学习(三、配置扫描接口)
摘要: 生产环境中使用,发布的时候不能使用
阅读全文
posted @ 2019-11-23 11:01 白石雁归南
阅读(2011)
评论(0)
推荐(0)
Swagger学习(二、配置swagger)
摘要: 基于上一篇 其实只是在SwaggerConfig.class中配置docket,apiInfo @Configuration //变成配置文件 @EnableSwagger2 //开启swagger2 public class SwaggerConfig { @Bean //配置swagger的do
阅读全文
posted @ 2019-11-23 10:22 白石雁归南
阅读(888)
评论(0)
推荐(0)
Swagger学习(一、入门)
摘要: 简单 入门(效果) SwaggerConfig.class @Configuration //变成配置文件 @EnableSwagger2 //开启swagger2 public class SwaggerConfig { } pom.xml <dependencies> <!--swagger--
阅读全文
posted @ 2019-11-23 09:58 白石雁归南
阅读(704)
评论(0)
推荐(0)
2019年11月22日
shiro学习(五、springboot+shiro+mybatis+thymeleaf)
摘要: 入门shiro(感觉成功了)首先感谢狂神,然后我就一本正经的复制代码了 项目结构 运行效果 数据库 <dependencies> <!-- thymeleaf-shiro整合包 --> <dependency> <groupId>com.github.theborakompanioni</group
阅读全文
posted @ 2019-11-22 19:50 白石雁归南
阅读(1610)
评论(0)
推荐(1)
2019年11月21日
写给自己的一封记忆
摘要: 无他,主要是方便自己用,所以。。。。。。。。。。 banner.txt ,o888888o. 8 8888 88 `8.`8888. ,8' 8 8888 .8. 8888 `88. 8 8888 88 `8.`8888. ,8' 8 8888 .888. ,8 8888 `8. 8 8888 88
阅读全文
posted @ 2019-11-21 17:45 白石雁归南
阅读(318)
评论(0)
推荐(0)
2019年11月19日
shiro学习(四、shiro集成spring+springmvc)
摘要: 依赖:spring-context,spring-MVC,shiro-core,shiro-spring,shiro-web 实话实说:web.xml,spring,springmvc配置文件好难 大致效果 代码结构(使用web骨架构建) pom.xml <dependencies> <depend
阅读全文
posted @ 2019-11-19 12:04 白石雁归南
阅读(297)
评论(0)
推荐(0)
2019年11月18日
shiro学习(三,shiro加密)
摘要: shiro加密 使用MD5加密 认证 //自定义的Realm 域 public class CustomRealmSecret extends AuthorizingRealm { @Override //授权 protected AuthorizationInfo doGetAuthorizati
阅读全文
posted @ 2019-11-18 17:16 白石雁归南
阅读(249)
评论(0)
推荐(0)
shiro学习(二)
摘要: 自定义realm(主要就是自定义的realm要继承AuthorizingRealm 类,重写两个方法(一是认证,而是授权,两个方法一般要查询数据库,这里用的是模拟数据) ) public class CustomRealm extends AuthorizingRealm { Map<String,
阅读全文
posted @ 2019-11-18 16:17 白石雁归南
阅读(156)
评论(0)
推荐(0)
上一页
1
2
3
4
下一页
公告