Spring Security(十):3. What’s New in Spring Security 4.2 (新功能)
Among other things, Spring Security 4.2 brings early support for Spring Framework 5. You can find the change logs for 4.2.0.M1, 4.2.0.RC1, 4.2.0.RELEASE which closes over 80 issues. The overwhelming majority of these features were contributed by the community. Below you can find the highlights of this release.
3.1 Web Improvements 网站改进
- #3812 - Jackson Support
- #4116 - Referrer Policy (推荐人政策)
- #3938 - Add HTTP response splitting prevention (添加HTTP响应拆分防护)
- #3949 - Add bean reference support to @AuthenticationPrincipal. (将bean引用支持添加到@AuthenticationPrincipal。)
- #3978 - Support for Standford WebAuth and Shibboleth using the newly added RequestAttributeAuthenticationFilter. (使用新添加的RequestAttributeAuthenticationFilter支持Standford WebAuth和Shibboleth。)
- #4076 - Document Proxy Server Configuration (文档代理服务器配置)
- #3795 -
ConcurrentSessionFiltersupportsInvalidSessionStrategy - #3904 - Add
CompositeLogoutHandler
3.2 Configuration Improvements
- #3956 - Central configuration of the default role prefix. See the issue for details.
- 中央配置默认角色前缀。有关详细信息,请参阅问题
- #4102 - Custom default configuration in
WebSecurityConfigurerAdapter. See Section 5.10, “Custom DSLs” - WebSecurityConfigurerAdapter中的自定义默认配置。请参见第5.10节“自定义DSL”
- #3899 - concurrency-control@max-sessions supports unlimited sessions.
- 并发控制@max-sessions支持无限会话。
- #4097 - intercept-url@request-matcher-ref adds more powerful request matching support to the XML namespace.
- intercept-url @ request-matcher-ref为XML命名空间添加了更强大的请求匹配支持。
- #3990 - Support for constructing
RoleHierarchyfromMap(i.e.yml) - 支持从Map构造RoleHierarchy(即yml)
- #4062 - Custom cookiePath to
CookieCsrfTokenRepository - 自定义cookiePath到CookieCsrfTokenRepository
- #3794 - Allow configuration of
InvalidSessionStrategyonSessionManagementConfigurer - 允许在SessionManagementConfigurer上配置InvalidSessionStrategy
- #4020 - Fix Exposing Beans for defaultMethodExpressionHandler can prevent Method Security
- 修复defaultMethodExpressionHandler的Exposing Beans可以防止Method Security
3.3 Miscellaneous 杂项
- #4080 - Spring 5 support
- #4095 -
Add UserBuilder - #4018 - Fix after
csrf()is invoked, futureMockMvcinvocations use originalCsrfTokenRepository - 在调用csrf()之后修复,将来的MockMvc调用使用原始的CsrfTokenRepository
- Version Updates
Spring Security(十):3. What’s New in Spring Security 4.2 (新功能)的更多相关文章
- Spring Boot(十六):使用Jenkins部署Spring Boot
Spring Boot(十六):使用Jenkins部署Spring Boot jenkins是devops神器,介绍如何安装和使用jenkins部署Spring Boot项目 jenkins搭建 部署 ...
- (转)Spring Boot(十六):使用 Jenkins 部署 Spring Boot
http://www.ityouknow.com/springboot/2017/11/11/spring-boot-jenkins.html enkins 是 Devops 神器,本篇文章介绍如何安 ...
- Spring Boot(十六):使用 Jenkins 部署 Spring Boot
Jenkins 是 Devops 神器,本篇文章介绍如何安装和使用 Jenkins 部署 Spring Boot 项目 Jenkins 搭建.部署分为四个步骤: 第一步,Jenkins 安装 第二步, ...
- spring Boot(十九):使用Spring Boot Actuator监控应用
spring Boot(十九):使用Spring Boot Actuator监控应用 微服务的特点决定了功能模块的部署是分布式的,大部分功能模块都是运行在不同的机器上,彼此通过服务调用进行交互,前后台 ...
- Spring Boot(十四):spring boot整合shiro-登录认证和权限管理
Spring Boot(十四):spring boot整合shiro-登录认证和权限管理 使用Spring Boot集成Apache Shiro.安全应该是互联网公司的一道生命线,几乎任何的公司都会涉 ...
- SpringBoot | 第二十八章:监控管理之Spring Boot Admin使用
前言 上一章节,我们介绍了Actuator的使用,知道了可通过访问不同的端点路径,获取相应的监控信息.但使用后也能发现,返回的监控数据都是以JSON串的形式进行返回的,对于实施或者其他人员来说,不是很 ...
- (转)Spring Boot (十九):使用 Spring Boot Actuator 监控应用
http://www.ityouknow.com/springboot/2018/02/06/spring-boot-actuator.html 微服务的特点决定了功能模块的部署是分布式的,大部分功能 ...
- (转)Spring Boot (十四): Spring Boot 整合 Shiro-登录认证和权限管理
http://www.ityouknow.com/springboot/2017/06/26/spring-boot-shiro.html 这篇文章我们来学习如何使用 Spring Boot 集成 A ...
- 朱晔和你聊Spring系列S1E10:强大且复杂的Spring Security(含OAuth2三角色+三模式完整例子)
Spring Security功能多,组件抽象程度高,配置方式多样,导致了Spring Security强大且复杂的特性.Spring Security的学习成本几乎是Spring家族中最高的,Spr ...
随机推荐
- [待优化笔记]原生JS实现验证框架 checkFun
;(function(){ /** 验证框架 checkFun * 使用方法: * <input class="required" type="text" ...
- Vue 组件之间传值
一.父组件向子组件传递数据 在 Vue 中,可以使用 props 向子组件传递数据. 子组件部分: 这是 header.vue 的 HTML 部分,logo 是在 data 中定义的变量. 如果需要从 ...
- neutron 多租户隔离的实现以及子网间路由的实现
1.一个network相当于一个二层网络,使用vxlan 隧道连通所有的CNA节点. 2.一个VPC下有多个network,也就是会分配多个vxlan隧道,这些子网间的路由是通过DVR实现的.DVR就 ...
- 简单易用的堡垒机系统—Teleport
简单易用的堡垒机系统-Teleport 官方文档:http://teleport.eomsoft.net/doc#!1 一.Teleport介绍 Teleport是触维软件推出的一款简单易用的堡垒机 ...
- leetcode-13罗马字符转整数
leetcode-13罗马字符转整数 算法:转换的规律是先逐字符按照对应的阿拉伯数字累加,然后对于特殊的(I.X.C出现在左侧)要处理.处理方法:出现特殊字符组合减去双倍的左侧字符(在开始的处理中已经 ...
- 测者的性测试手册:SWAP的监控
swap是什么 swap是磁盘上的一块区域,可以使一个磁盘分区,也可以是一个文件,也可能是一个两种的组合.当物理内存资源紧张的时候,操作系统(Linux)会将一些不常访问的数据放到swap里.为其他常 ...
- Django 配置MySQL数据库
在settings.py中配置 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.mysql', # 数据库引擎 'NAME': 'my ...
- Cas 服务器 下载、编译及部署
一直想把公司运营的项目的各个子项的认证及授权统一到Cas上,从有想法到现在快一年的时间了.现在才正式着手,有兴趣的朋友一起交流学习一下.具体项目的细节不便透露,整合的大体思路为:1.开发部署Cas服务 ...
- 如何解决远程连接mysql出现Can’t connect to MySQL server on (111 “Connection refused”)的问题
如何解决远程连接mysql出现Can’t connect to MySQL server on (111 “Connection refused”)的问题 开放Mysql的远程连接 在服务器上登录my ...
- Windows Server 2016-管理站点复制(二)
为了保持所有域控制器上的目录数据一致和最新,Active Directory 会定期复制目录更改.复制根据标准网络协议进行,并使用更改跟踪信息防止发生不必要的复制,以及使用链接值复制以提高效率. 本章 ...