如何将Spring安全性应用于struts2 [英] How to apply Spring security on struts2
问题描述
我已经阅读过各种教程和论坛,但还没有找到Spring Security和struts2的结合来研究编码的工作示例。目前的大多数例子都是在XML文件中使用预定义的用户名和密码,但没有连接到数据库。 示例1 样例2 样本3
请让我知道你是否知道任何示例或教程。
您应该从这些教程开始: Spring Security第1部分 - 数据库简单登录应用程序
Spring Security第2部分 - 密码加密,自定义404和403错误页面
I have read various tutorials and forums but have not found a working example of combination of Spring security and struts2 to investigate the coding. Most of the current examples are using the predefined username and passwords in the XML file but not connected to database. Sample 1 Sample 2 Sample 3
Please let me know if you know of any example or tutorial.
You should probably start with these tutorials:
Spring Security Part 1 – Simple Login application with database
Spring Security Part 2 – Password Encryption, Customize 404 and 403 error page
这篇关于如何将Spring安全性应用于struts2的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!