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
来源:https://stackoverflow.com/questions/15671973/how-to-apply-spring-security-on-struts2