【问题标题】:Spring boot with hdiv带hdiv的弹簧靴
【发布时间】:2019-04-11 08:52:50
【问题描述】:

我正在为我的 MVC 应用程序使用 org.springframework.boot:spring-boot-starter-web:1.5.3.RELEASE。

我需要停止敏感数据暴露攻击。

我找到了hdiv (https://github.com/hdiv/spring-boot-starter-hdiv/blob/master/README.md)

如果我理解正确的话,HDIV 支持仅适用于 thymeleaf 和 jsp。

但我在前端使用 angular-1.6.6.js 和 HTML。

谁能帮我在我的项目中介绍hdiv集成。

【问题讨论】:

    标签: spring-boot hdiv


    【解决方案1】:

    对于客户端-mvc 场景,例如 AngularJS,Spring 方法非常适合 HDIV。实际上,HDIV 有一个用于该集成的模块:https://github.com/hdiv/hdiv/tree/hdiv-hateoas

    我们可以简单地将 HDIV 定义为 Java Web 应用程序安全框架。 HDIV 通过添加安全功能、维护 API 和框架规范来扩展 Web 应用程序的行为。

    对 AngularJS 的 HDIV 支持;好推荐:https://github.com/hdiv/hdiv/issues/69

    【讨论】:

      猜你喜欢
      • 2018-02-14
      • 1970-01-01
      • 2014-06-27
      • 2020-05-18
      • 1970-01-01
      • 2021-07-15
      • 2021-02-16
      • 2018-11-22
      • 1970-01-01
      相关资源
      最近更新 更多