title: Symfony2 authentication using a webservice
body: <p>My application uses a <strong>webservice to check if the username and password</strong> are correct. I just send the username and password from the login form in a simple manner like this:</p>
  
  <p><code>https://host/check?user=admin&amp;password=12345"</code></p>
  
  <p>The webservice is on another server and it's only accessible from the app also the communication is encrypted.</p>
  
  <p>After authentication the webservice returns all the information i need about the user (name, email etc) so because of this <strong>i don't keep anything in the database</strong>.</p>
  
  <p>In symfony 1 this was very easy to do but i see that the symfony 2 security component likes to complicate the things a lot.</p>
  
  <p>What is the best approach to implement this kind of authentication in symfony 2? </p>
  
  <p>Thank you</p>