title: Spring/Acegi security for REST Webservices in WebApplication?
body: <p>Our current app is a standard spring 2.5 application with Form Based Authentication using Acegi. However, we need to expose some REST Service for 3rd party application and we are trying to use BASIC auth over SSL. We have used RESTEAsy for exposing the REST Services. Now, given that the rest of the application uses form &amp; Session based authentication, how can I enable basic authentication for the few REST Services.</p>
  
  <p>To me, the usecase seems normal, however, I couldn't find much reference on the web. Any comment/suggestions will be very much appreciated. </p>