Spring Security 5.1.0.RC2 发布,Spring 安全框架

栏目: 后端 · 发布时间: 7年前

内容简介:Spring Security 5.1.0.RC2 发布了,本次更新关闭了有以下值得关注的更新最初,Spring Security DSL 有两个 oauths:

Spring Security 5.1.0.RC2 发布了,本次更新关闭了 50+ 个 issue

有以下值得关注的更新

简化 DSL for OAuth2

最初,Spring Security DSL 有两个 oauths:

http
    .oauth2Login()...

http
    .oauth2()
        .client()...

这样做是有意义的,因为一个是认证机制,像 formLogin 和 openidLogin。而其他的--client, resourceServer 和 authorizationServer--有点像 OAuth 2.0 的风格。

但从这个版本开始,可以像下面这样写

http
    .oauth2Login()...
    .oauth2Client()...
    .oauth2ResourceServer()

没有任何功能或特性更改与 DSL 的重构相关联,而且输入也变得更少

更多内容请查看 https://spring.io/blog/2018/09/10/spring-security-5-1-0-rc2-released


以上就是本文的全部内容,希望对大家的学习有所帮助,也希望大家多多支持 码农网

查看所有标签

猜你喜欢:

本站部分资源来源于网络,本站转载出于传递更多信息之目的,版权归原作者或者来源机构所有,如转载稿涉及版权问题,请联系我们

Mastering Bitcoin

Mastering Bitcoin

Andreas M. Antonopoulos / O'Reilly Media / 2014-12-20 / USD 34.99

Mastering Bitcoin tells you everything you need to know about joining one of the most exciting revolutions since the invention of the web: digital money. Bitcoin is the first successful digital curren......一起来看看 《Mastering Bitcoin》 这本书的介绍吧!

图片转BASE64编码
图片转BASE64编码

在线图片转Base64编码工具

RGB HSV 转换
RGB HSV 转换

RGB HSV 互转工具

HEX HSV 转换工具
HEX HSV 转换工具

HEX HSV 互换工具