title: Spring Security - Apply pattern to custom http filter?
body: <p>I use Spring Security 3.0 and I would like to define a Basic Authentication filter only on a specific subset of URLs in my application.</p>
  
  <p>Is it possible to add a pattern to custom-filters ?</p>
  
  <p>I would like to add a <strong>pattern</strong> attribute like this : </p>
  
  <pre><code>&lt;security:custom-filter ref="basicAuthenticationFilter" position="BASIC_AUTH_FILTER" pattern="/services/**"/&gt;
  </code></pre>
  
  <p>I saw it is possible to use <strong>filters</strong> attribute on <strong>intercept-url</strong> but I would not have to list them all.</p>