How to apply Spring security on struts2

僤鯓⒐⒋嵵緔 提交于 2019-12-06 04:23:23

问题


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.


回答1:


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



来源:https://stackoverflow.com/questions/15671973/how-to-apply-spring-security-on-struts2

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!