2020年4月1日

跨域IFRAME 安全的数据交互方案

摘要: 场景概述:站点A页面通过IFRAME嵌套站点B页面,A页面需要从B页面获取数据 站点B页面推送数据: parent.window.p... 阅读全文

posted @ 2020-04-01 14:50 路过君 阅读(80) 评论(0) 推荐(0) 编辑

springsecurity 允许跨域IFRAME引用

摘要: WebSecurityConfigurerAdapter @Overrideprotected void configure(Htt... 阅读全文

posted @ 2020-04-01 13:28 路过君 阅读(223) 评论(0) 推荐(0) 编辑

webstorm 文件类型无法正确识别

摘要: 将项目中的文本文件修改后缀为JS可能导致此文件无法被识别为JS源码 因为webstorm自动增加对该文件名模式的文件类型关联规则 解... 阅读全文

posted @ 2020-04-01 11:56 路过君 阅读(575) 评论(0) 推荐(0) 编辑

2020年3月31日

springsecurity oauth2认证服务器 自定义登陆页面导致客户端授权异常处理

摘要: 如果认证服务器使用自定义登陆页面,且静态资源通过如下配置,将导致授权码模式客户端跳转认证服务器登陆成功后无法完成客户端授权,页面将跳... 阅读全文

posted @ 2020-03-31 15:49 路过君 阅读(846) 评论(0) 推荐(0) 编辑

nginx 配置笔记

摘要: nginx.conf 处理器数量 worker_processes 1; http 客户端请求正文大小 client_max_bod... 阅读全文

posted @ 2020-03-31 13:42 路过君 阅读(78) 评论(0) 推荐(0) 编辑

springboot 使用webjars打包静态资源模块

摘要: 依赖 org.webjars webjars-locator 0.39 maven build 配置 ... 阅读全文

posted @ 2020-03-31 10:57 路过君 阅读(79) 评论(0) 推荐(0) 编辑

2020年3月30日

springsecurity oauth2sso 客户端单点登陆

摘要: 依赖 org.springframework.cloud spring-cloud-starter-oauth2 ... 阅读全文

posted @ 2020-03-30 16:14 路过君 阅读(140) 评论(0) 推荐(0) 编辑

maven deploy异常

摘要: Deployment failed: repository element was not specified in the POM... 阅读全文

posted @ 2020-03-30 09:11 路过君 阅读(291) 评论(0) 推荐(0) 编辑

2020年3月27日

npm install异常error code EPERM

摘要: Error: EPERM: operation not permitted, unlink 控制台需要使用管理员身份启动 ... 阅读全文

posted @ 2020-03-27 10:41 路过君 阅读(399) 评论(0) 推荐(0) 编辑

springsecurity 多httpsecurity配置

摘要: 多配置时根据配置文件order依次套用httpsecurity规则,等效于http.and() http.authorizeRequ... 阅读全文

posted @ 2020-03-27 07:52 路过君 阅读(355) 评论(0) 推荐(0) 编辑

导航