spring Security

maven 1 2 3 4 <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId> </dependency> config 1 2 3 4 5 6 7 8 9 10 @Configuration public class WebSecurityConfig extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { http.authorizeRequests() .anyRequest().authenticated() .and().formLogin().loginProcessingUrl("/login").permitAll() .and().csrf().disable(); } } 1 2 spring.security.user.name=admin spring.security.user.password={bcrypt}$2a$10$io1baOv5SiP2G0DR.Dye.OQjtj1W8Aba31pGecyYdxgoXLkLjdfm.

3.4 散列表

用散列函数将被查找的键转化为数组的一个索引 处理碰撞冲突:拉链法和线性探测法 3.4.1 散列函数 3.4.1.2 正整数 除留余数法(k%M,M是素数) 3.4.1.3 浮点数 将键表示为

redis

集群脚本 redis根目录新建cluster文件夹 拷贝3节点配置文件到cluster文件夹 redis.7000.conf redis.7001.conf redis.7002.conf 修改对应配置项 1 2 3 4 5 port 7000 cluster-enabled yes cluster-config-file nodes.7000.conf cluster-node-timeout 5000 appendonly yes r

activiti

工作流开源框架 快速入门 BPMN 业务流程建模与标注(Business Process Model and Notation,BPMN) ,描述流程的基本符号,包括这些图元如何组合成一

charles

证书 Help -> SSL Proxying -> Install Charles Root Certificate 安装证书 -> 下一步 将所有的证书都放入下列存储 浏览 受信任的根证书颁发机构 下一步 完成 是 https Proxy -> SSL Proxying Settings Enable SSL Proxying Add Host:* Por