title: Symfony2 : Custom authentication
body: <p>I'm trying to make a custom authentication using Symfony2. The users are already authenticated thanks to a cookie, let's call it BASECOOKIE, on a specific domain, let's say basedomain.com</p>
  
  <p>There's an application on basedomain.com that can handle authentication request and return true or false, checking wheter the user has a valid BASECOOKIE or not.</p>
  
  <p>In order to do that, my Symfony2 application (which is located on another domain) needs to send that request using some auto-post form (so that the request is sent from the user and not from the app).</p>
  
  <p>Do you have any idea of how I could implement that kind of authentication mecanism ? Cause I easily make basic database authentications, but when it comes to a specific one like this, I don't even know where to start.</p>