title: Access to the specified resource has been forbidden in simple Spring remote client
body: <p>I am trying with spring remote client with security features,with out security things are working fine, but when I add DelegatingFilterProxy I am seeing the error 403 with message forbidden.</p>
  
  <p>Here is my configuration</p>
  
  <pre><code>&lt;bean id="provisioningService"
  class="com.ravisha.spring.remote.httpinvoker.ProvisioningServiceImpl" /&gt;
  
  &lt;bean name="/provisioningService"
  class="org.springframework.remoting.httpinvoker.HttpInvokerServiceExporter"&gt;
  &lt;property name="service" ref="provisioningService" /&gt;
  &lt;property name="serviceInterface" value="com.ravisha.spring.remote.httpinvoker.ProvisioningService"/&gt;
  &lt;/bean&gt;
  
  &lt;security:http&gt;
          &lt;security:http-basic/&gt;
           &lt;security:intercept-url pattern="/provisioningService" access="hasRole('ROLE_USER') "/&gt;    
  
   &lt;/security:http&gt;  
  
        &lt;security:authentication-manager alias="authenticationManager"&gt;
          &lt;security:authentication-provider&gt;
              &lt;security:user-service id="uds"&gt;
                       &lt;security:user name="test" password="test"
                                 authorities="ROLE_USER" /&gt;
              &lt;/security:user-service&gt;
          &lt;/security:authentication-provider&gt;
      &lt;/security:authentication-manager&gt;   
  
  
  &lt;/beans&gt;
  </code></pre>