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

栏目: 软件资讯 · 发布时间: 7年前

内容简介:Spring Security 5.1.0.RC2 发布了,本次更新关闭了 50+ 个 issue。 有以下值得关注的更新 简化 DSL for OAuth2 最初,Spring Security DSL 有两个 oauths: http     .oauth2Login()... 和 http     ....

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


【声明】文章转载自:开源中国社区 [http://www.oschina.net]


以上所述就是小编给大家介绍的《Spring Security 5.1.0.RC2 发布,Spring 安全框架》,希望对大家有所帮助,如果大家有任何疑问请给我留言,小编会及时回复大家的。在此也非常感谢大家对 码农网 的支持!

查看所有标签

猜你喜欢:

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

The Practice of Programming

The Practice of Programming

Brian W. Kernighan、Rob Pike / Addison-Wesley / 1999-2-14 / USD 49.99

With the same insight and authority that made their book The Unix Programming Environment a classic, Brian Kernighan and Rob Pike have written The Practice of Programming to help make individual progr......一起来看看 《The Practice of Programming》 这本书的介绍吧!

RGB转16进制工具
RGB转16进制工具

RGB HEX 互转工具

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

在线图片转Base64编码工具

HEX CMYK 转换工具
HEX CMYK 转换工具

HEX CMYK 互转工具