说在前面 本次开始进行rocketmq源码解析,比较喜欢rocketmq的架构设计,rocketmq内嵌了namesrv注册中心保存了元数据,进行负载均衡、容错的一些处理,4.3以上支持消息事务,有管理控制台、命令行工具,底层namesrv与broker、client与server交互netty实现 ...
分类:
其他好文 时间:
2019-10-01 13:32:33
阅读次数:
92
1. 概念Apache Shiro 是一个开源安全框架,提供身份验证、授权、密码学和会话管理。Shiro 框架具有直观、易用等特性,同时也能提供健壮的安全性,虽然它的功能不如 SpringSecurity 那么强大,但是在普通的项目中也够用了。2. 由来Shiro 的前身是 JSecurity,20... ...
分类:
Web程序 时间:
2019-09-21 11:00:28
阅读次数:
102
题目: In your childhood you most likely had to solve the riddle of the house of Santa Claus. Do you remember that the importance was on drawing the hous ...
分类:
其他好文 时间:
2019-09-16 09:59:12
阅读次数:
99
1、加入spring security的支持包, 2、主要实现两个接口,一个是UserDetails 用户详细信息,一个是UserDetailsService用户信息服务 3、在继承WebSecurityConfigurerAdapter 子类中添加资源拦截规则和 用户权限规则 ...
分类:
数据库 时间:
2019-09-07 10:43:19
阅读次数:
181
Remember improving English and learning multiple languages really helps open up a lot of career doors. Are you free now? Do you like spicy food? If yo ...
分类:
其他好文 时间:
2019-09-06 01:02:31
阅读次数:
105
本文源码:GitHub·点这里||GitEE·点这里一、Security简介1、基础概念SpringSecurity是一个能够为基于Spring的企业应用系统提供声明式的安全访问控制解决方案的安全框架。它提供了一组可以在Spring应用上下文中配置的Bean,充分利用了Spring的IOC,DI,AOP(面向切面编程)功能,为应用系统提供声明式的安全访问控制功能,减少了为安全控制编写大量重复代码的
分类:
编程语言 时间:
2019-09-05 00:52:40
阅读次数:
97
anon 任何用户发送的请求都能够访问 authc 经过认证的请求可访问,否则将会将请求重定向到 ini 配置文件配置的 authc.loginUrl 资源,进行认证操作 authc.loginUrl=/login.jsp 用户认证资源地址是/login authc.successUrl=/ #认证 ...
分类:
其他好文 时间:
2019-08-22 19:18:15
阅读次数:
110
1. Are the density graphs shown about the log returns? If so, can you test if it's a normal distribution test or not? You can use the Jacque-Bera test ...
分类:
其他好文 时间:
2019-08-11 20:32:29
阅读次数:
109
# ### for 循环和序列的运用# remember = ['从入门到放弃', '从入门到如土', 123, 'happy']# for each in remember:# print(each, end= '\n')## happy= {'从入门到放弃', '从入门到如土', 123, 'h ...
分类:
其他好文 时间:
2019-07-11 15:42:48
阅读次数:
121
# 获取加载更多的数据有 2 种方法# 第一种就是直接找数据接口, 点击'加载更多' 在Network看下, 直接找到数据接口 # 第二种方法就是使用selenium+chromdriver ...
分类:
Web程序 时间:
2019-07-03 00:40:17
阅读次数:
125