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


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

查看所有标签

猜你喜欢:

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

PHP for the World Wide Web, Second Edition (Visual QuickStart Gu

PHP for the World Wide Web, Second Edition (Visual QuickStart Gu

Larry Ullman / Peachpit Press / 2004-02-02 / USD 29.99

So you know HTML, even JavaScript, but the idea of learning an actual programming language like PHP terrifies you? Well, stop quaking and get going with this easy task-based guide! Aimed at beginning ......一起来看看 《PHP for the World Wide Web, Second Edition (Visual QuickStart Gu》 这本书的介绍吧!

CSS 压缩/解压工具
CSS 压缩/解压工具

在线压缩/解压 CSS 代码

MD5 加密
MD5 加密

MD5 加密工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具