2020年7月15日

shiro源码分析-认证过程

摘要: 一。shiro的认证过程源码分析 1.程序登录入口,页面传递地参数userName,password ,loginType3个参数,用 LoginUser 对象接收。loginType 为登录方式,因为我这里有多种登录方式,因此用这个字段来区分。不同的登录方式,采用不同的token封装登录信息。登录 阅读全文

posted @ 2020-07-15 12:39 ajax取个名字真难 阅读(183) 评论(0) 推荐(0) 编辑

2020年7月14日

shiro源码学习(准备中)

摘要: 一。shiro框架中的常用接口: 1.Subject:当前操作主体,表示当前操作用户 默认实现:WebDelegatingSubject 2.SecurityManager:安全管理器,Shiro最核心组件。由它来管理所有shiro内部组建 默认实现:DefaultWebSecurityManage 阅读全文

posted @ 2020-07-14 18:07 ajax取个名字真难 阅读(138) 评论(0) 推荐(0) 编辑

2020年4月15日

redis

摘要: cluster info: 说明: 详情:https://www.cnblogs.com/web369/articles/8662036.html 阅读全文

posted @ 2020-04-15 20:00 ajax取个名字真难 阅读(144) 评论(0) 推荐(0) 编辑

2020年4月11日

JedisPool配置详解

摘要: 使用jedis连接池的时候,我们一般会引用 JedisPoolConfig这个类的配置。下面是JedisPoolConfig的继承图 在BaseObjectPoolConfig这个类下面,有如下配置字段: lifo:borrowObject时,采用的队列形式 maxActive: 链接池中最大连接数 阅读全文

posted @ 2020-04-11 15:38 ajax取个名字真难 阅读(1079) 评论(0) 推荐(0) 编辑

2019年12月2日

HttpClient-4.5.2官方教程完整翻译

摘要: 文章出自:https://blog.csdn.net/ron_2016/article/details/81587492 阅读全文

posted @ 2019-12-02 16:26 ajax取个名字真难 阅读(113) 评论(0) 推荐(0) 编辑

2019年5月17日

logstash 配置

摘要: input{ } filter{ } output{ } 引用:https://www.cnblogs.com/xiaobaozi-95/p/9214307.html 阅读全文

posted @ 2019-05-17 17:28 ajax取个名字真难 阅读(112) 评论(0) 推荐(0) 编辑

2019年1月26日

xPath解析XML文件

摘要: 一种:不带名称空间的XML,可以直接用xapth表达式解析 二种:带名称空间的xml 比如这种,这种带名称空间的,可以将xml读成字符串后,将xmlns="http://impl.webservice.ocs.sunrise.com"部分,用空格替换掉,就可以用xpath正常解析。 三种:带名称空间 阅读全文

posted @ 2019-01-26 19:16 ajax取个名字真难 阅读(255) 评论(0) 推荐(0) 编辑

2018年12月11日

java jar包打成可安装程序

摘要: 1.将jar程序打成jar包 2.用exe4j.exe将jar包打成.exe可执行程序 3.用Inno Setup 编译器将.exe可执行程序编译成可安装程序 exe4j下载: https://exe4j.apponic.com/ Inno Setup下载:http://www.jrsoftware 阅读全文

posted @ 2018-12-11 11:17 ajax取个名字真难 阅读(108) 评论(0) 推荐(0) 编辑

2018年12月7日

@Configuration

摘要: 文章出处:https://blog.csdn.net/u014199143/article/details/80692685 阅读全文

posted @ 2018-12-07 17:22 ajax取个名字真难 阅读(71) 评论(0) 推荐(0) 编辑

2018年12月6日

java 程序打成.exe可执行程序

摘要: 文章出处:https://blog.csdn.net/u011752272/article/details/80697198 python程序打成.exe程序 文章出处:https://blog.csdn.net/normallife/article/details/77893945 阅读全文

posted @ 2018-12-06 10:13 ajax取个名字真难 阅读(95) 评论(0) 推荐(0) 编辑

导航