我有一个Spring 4 MVC/REST应用程序,使用AngularJS作为客户端技术,Spring data mongoDB作为服务器端。我想保护申请。我看到的所有示例都基于Sping Boot 。Q1)是否可以在没有Sping Boot 的情况下保护Spring 4应用程序?Q2)是否有可能在我的Spring 4应用程序中仅包含Sprint Boot 用于安全性,这样我们就不需要基于Spring Boot重新编码所有内容?你能指给我一些样品吗?
4nkexdtk1#
看看Spring Security Reference Documentation,它是免 Boot 的:
示例:Google“spring security 4配置示例”:
lo8azlld2#
你需要的是Spring Security而不是Sping Boot 。为了保护您的应用程序,最好的学习方法是从阅读参考文档开始
2条答案
按热度按时间4nkexdtk1#
看看Spring Security Reference Documentation,它是免 Boot 的:
示例:Google“spring security 4配置示例”:
lo8azlld2#
你需要的是Spring Security而不是Sping Boot 。为了保护您的应用程序,最好的学习方法是从阅读参考文档开始