Vaadin 19 中的 VaadinWebSecurityConfigurerAdapter 发生了什么? [英] What happened to VaadinWebSecurityConfigurerAdapter in Vaadin 19?

查看:21
本文介绍了Vaadin 19 中的 VaadinWebSecurityConfigurerAdapter 发生了什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们正在使用 Vaadin 19 Fusion 构建一个网络应用程序,我正在学习本教程:https://vaadin.com/docs/latest/fusion/security/spring-登录(我选择了 V19+ Docs,然后是 Fusion)

We are building a web app with Vaadin 19 Fusion, and I'm following this tutorial: https://vaadin.com/docs/latest/fusion/security/spring-login (I have selected the V19+ Docs and then Fusion)

在教程中有对 VaadinWebSecurityConfigurerAdapter 的引用,它用于使用 Spring 设置安全性,但该类在类路径上不可用.我曾尝试从 start.vaadin.com 下载一个普通的入门项目 (v19),但在这里我也无法使用 VaadinWebSecurityConfigurerAdapter.

In the tutorial there is a reference to VaadinWebSecurityConfigurerAdapter which is used for setting up the security with Spring, but this class is not available on the classpath. I have tried downloading a plain starter project (v19) from start.vaadin.com, and here I am also not able to use VaadinWebSecurityConfigurerAdapter.

v19 中是否有替代方案,或者我是否缺少依赖项?我和启动项目有相同的依赖树,所以我假设 pom 是正确的.

Is there an alternative in v19 or am I missing a dependency? I have the same dependency tree as the starter project, so I was assuming the pom is correct.

推荐答案

看起来 VaadinWebSecurityConfigurerAdapter 最终会在 V20 中结束,V20 计划于 6 月发布.

It looks like the VaadinWebSecurityConfigurerAdapter will end up in V20, which is scheduled for release in June.

您链接的文档页面顶部有一个标签 V20 pre-release.这当然可以变得更加明显.

The documentation page you linked has a tag V20 pre-release at the top. This could certainly be made more visible.

这篇关于Vaadin 19 中的 VaadinWebSecurityConfigurerAdapter 发生了什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆