title: How to apply Spring Security on Struts 2
body: <p>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.</p>
  <p>Examples:</p>
  <ul>
  <li><a href="https://stackoverflow.com/questions/12607719/how-use-spring-security-3-on-struts-2">Sample 1</a></li>
  <li><a href="http://www.coderanch.com/t/528561/Spring/Spring-Spring-Security-Struts-Hibernate" rel="nofollow noreferrer">Sample 2</a></li>
  <li><a href="http://jtechspace.blogspot.com.au/2012/07/integrating-struts2-with-spring.html" rel="nofollow noreferrer">Sample 3</a></li>
  </ul>
  <p>Please let me know if you know of any example or tutorial.</p>