title: Spring 3.0 URL pattern validation
body: <p>I'm wanting to to add an endpoint like <code>/user/foo</code> where <code>foo</code> is one of a set of values determined at runtime. I'm wondering what the best way is to do this in Spring, or indeed if it should even been done in Spring an not handled at the controller level.</p>
  
  <p>I'm currently using Springs security filter chain, so I did think about putting a filter in front of <code>/user/*</code> to do this validation. Is this a reasonable solution or is there a more desirable solution I have missed?</p>