# 最新更新在 Spring 安全性5.6中
Spring 安全性5.6提供了许多新功能。以下是此次发布会的亮点。
# Servlet
核心
介绍了[
SecurityContextChangedListener
](https://github.com/ Spring-projects/ Spring-security/issues/10226)
配置
- 为方法安全性引入了[
AuthorizationManager
](https://github.com/ Spring-projects/ Spring-security/pull/9630)
- 为方法安全性引入了[
SAML2.0服务提供商
添加了[
RelyingPartyRegistrationResolver
]( Servlet/saml2/login/overview.html# Servlet-saml2login-rpr-relyingpartyregistrationresolver)改进了
Saml2LoginConfigurer
对[Saml2AuthenticationTokenConverter
]的处理(https://github.com/ Spring-projects/ Spring-security/issues/10268)
OAuth2.0登录
- 添加了[
Converter
forAuthentication
结果](https://github.com/ Spring-projects/ Spring-security/pull/10041)
- 添加了[
OAuth2.0客户端
测试
# WebFlux
OAuth2.0登录
OAuth2.0客户端
为访问令牌请求添加了自定义头支持 (opens new window)
为访问令牌请求添加了自定义响应解析 (opens new window)
为访问令牌请求添加了JWT-持股人授予类型支持 (opens new window)
为访问令牌请求添加了JWT客户端身份验证支持 (opens new window)