摘要:
zookeeper的启动: ./zkServer.sh start 连接zookeeper: ./zkCli.sh 查看节点: ls / 临时关闭linux防火墙centOS6: /etc/init.d/iptables stop 注意:本案例是基于springboot1.5.12版本,spring 阅读全文
posted @ 2020-03-18 18:33
lxw-all
阅读(201)
评论(0)
推荐(0)
摘要:
注解:@EnableWebSecurity WebSecurityConfigurerAdapter:自定义Security策略 AuthenticationManagerBuilder:自定义认证策略 HttpSecurity配置登陆、注销功能 官方文档:https://spring.io/gui 阅读全文
posted @ 2020-03-18 17:08
lxw-all
阅读(273)
评论(0)
推荐(0)
摘要:
异步任务: @EnableAysnc、@Aysnc 定时任务: @EnableScheduling、@Scheduled 邮件任务: pom: <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org 阅读全文
posted @ 2020-03-18 12:49
lxw-all
阅读(135)
评论(0)
推荐(0)
浙公网安备 33010602011771号