摘要: 定义配置器 配置 阅读全文
posted @ 2017-03-28 17:37 kingsy.lin 阅读(646) 评论(0) 推荐(0) 编辑
摘要: 定义过滤器 security配置 阅读全文
posted @ 2017-03-28 17:09 kingsy.lin 阅读(3764) 评论(0) 推荐(0) 编辑
摘要: @Configuration public static class WebSecurityConfigurer extends WebSecurityConfigurerAdapter{ @Override protected void configure(HttpSecurity http) throws Exception { ... 阅读全文
posted @ 2017-03-28 16:40 kingsy.lin 阅读(288) 评论(0) 推荐(0) 编辑
摘要: 配置pom 或 注:如果使用 spring-session-data-redis 依赖方式,不需要加入@EnableRedisHttpSession 配置applicaton.yml 阅读全文
posted @ 2017-03-28 10:48 kingsy.lin 阅读(603) 评论(0) 推荐(0) 编辑
摘要: 配置pom 配置application.yml 代码实现 阅读全文
posted @ 2017-03-28 10:38 kingsy.lin 阅读(1114) 评论(0) 推荐(0) 编辑
摘要: 进入虚拟机 vi /var/lib/boot2docker/profile 编辑在EXTRA_ARGS,加入 --registry-mirror=https://pee6w651.mirror.aliyuncs.com 保存 重启:在window客户端执行shell : docker-machine 阅读全文
posted @ 2017-03-28 09:31 kingsy.lin 阅读(656) 评论(0) 推荐(0) 编辑