【问题标题】:Best Practices for building restful api service using spring boot with jwt [closed]使用带有 jwt 的 spring boot 构建 restful api 服务的最佳实践 [关闭]
【发布时间】:2021-07-09 19:57:38
【问题描述】:

我想知道是否有使用带有 jwt 的 spring boot 构建 restful api 服务的最佳实践。 我在看udemy的讲座:https://github.com/in28minutes/full-stack-with-react-and-spring-boot

这只是一个使用 h2 的玩具示例。但我将使用 mysql。

我在构建项目时遇到了困难。服务模型... dto .. config ...我想知道是否有最佳实践...比如模板...。

My project

我将很多文件从 jwt 文件夹移动到我认为属于的每个类别。 但欢迎提出任何建议和意见。

感谢您阅读我的问题。 :)

【问题讨论】:

    标签: java spring spring-boot jwt software-design


    【解决方案1】:

    兄弟,如果你想深入了解 Spring Boot 的安全性

    1. 不同级别的角色
    2. 智威汤逊

    我浏览了很多资源,但 youtube 上的 amigoscode 最适合 Spring Security 下面是链接

    https://www.youtube.com/watch?v=her_7pa0vrg

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2019-03-24
      • 1970-01-01
      • 2020-04-07
      • 1970-01-01
      • 2022-01-07
      • 2015-08-11
      • 2023-02-01
      相关资源
      最近更新 更多