如何在 Struts 2 上应用 Spring Security [英] How to apply Spring Security on Struts 2

查看:77
本文介绍了如何在 Struts 2 上应用 Spring Security的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经阅读了各种教程和论坛,但还没有找到结合 Spring security 和 struts2 来研究编码的工作示例.当前的大多数示例都使用 XML 文件中预定义的用户名和密码,但未连接到数据库.

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.

示例:

如果您知道任何示例或教程,请告诉我.

Please let me know if you know of any example or tutorial.

推荐答案

你可能应该从这些教程开始:

You should probably start with these tutorials:

Spring 安全第 2 部分 – 密码加密,自定义 404 和 403 错误页面

这篇关于如何在 Struts 2 上应用 Spring Security的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆