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 ...
随机推荐
- CentOS 7.0 下 Python 2.7 升级到 Python 3.5
前段因为时间工作需要,要把 Centos 7.0 默认安装的 Python 2.7 升级到 Python 3.5. 具体操作如下: # 安装 gcc gcc-c++ 等编译工具软件 yum insta ...
- css:Media Queries: How to target desktop, tablet and mobile?
<!doctype html> <html> <head> <meta name="viewport" content="wid ...
- ionic 兼容title居中显示和tab栏在显示底部
在app.js里的 .config 里添加配置,同时在函数中引入 $ionicConfigProvider,具体格式如下所示: .config(function($stateProvider, $ur ...
- Daydream Controller手柄数据的解析
参考: How I hacked Google Daydream controller How I hacked Google Daydream controller (Part IV) 反编译代码: ...
- 不需要再手写 onSaveInstanceState 了,因为你的时间非常值钱
如果你是一个有经验的 Android 程序员,那么你肯定手写过许多 onSaveInstanceState 以及 onRestoreInstanceState 方法用来保持 Activity 的状态, ...
- [Python][小知识][NO.3] Python 使用系统默认浏览器打开指定URL的网址
1.前言 一般用到的地方: GUI交互界面下,单击某个按钮实现打开指定网址. 某帮助菜单项目,需要跳转网页显示时. O.O 某XX程序,需要植入网页弹窗广告时... 2.方法 调用 webbrowse ...
- iOS 10.3下解决Fiddler代理抓包ssl证书信任问题
iPhone系统更新到iOS 10.3以后,设置fiddler代理抓包,会出现无法抓取https请求,app请求失败的问题 这是因为在iOS 10.3之前,当你将安装fiddler的自定义证书后,iO ...
- 使用Visual Studio Team Services敏捷规划和项目组合管理(三)——使用Kanban板
使用Visual Studio Team Services敏捷规划和项目组合管理(三)--使用Kanban板 1.要查看Kanban板,请单击Work>Backlogs页面上的Board 链接. ...
- SQL Server等待事件—RESOURCE_SEMAPHORE_QUERY_COMPILE
等待事件介绍 关于等待事件RESOURCE_SEMAPHORE_QUERY_COMPILE,官方的介绍如下: Occurs when the number of concurrent query co ...
- java任意n以内连续的和等于n
import java.util.Scanner; /** * Created by Admin on 2017/3/25. */ public class test01 { public stati ...