title: Spring authentication against tomcat-users.xml
body: <p>I've been given a requirement that an application must be configurable to use either LDAP or container-managed authentication. The LDAP requirement has already been fulfilled, but the container-managed, in this case the container is Tomcat, remains a head-scratcher. How do I use the existing Spring Authentication framework to authenticate a users details against tomcat-users.xml?</p>
  
  <p>Many thanks</p>
  
  <p>Angus</p>