簡體   English   中英

在沒有 servlet api 的 webflux 項目中使用 OAuth2 和 Spring Security OAuth2 和 reactor netty

[英]Use OAuth2 with Spring Security OAuth2 and reactor netty in a webflux project without servlet api

我想將 webflux 與 reactor netty 一起使用,但我的項目依賴於 spring-security-oauth2,特別是 class https://github.com/spring-projects/spring-security-oauth/blob/master/spring-security -oauth2/src/main/java/org/springframework/security/oauth2/provider/OAuth2Authentication.java , to work with oauth2, but this project use the servlet api, and netty does not support the servlet api. 可以在 spring-security-oauth2 項目中使用 reactor netty 嗎?

是的, spring-security-oauth2已經提升到 Spring security 5 並且不再是一個獨立的庫。

Spring security 5 也支持 webflux。

Webflux 安全性

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM