title: Symfony2 : how to check if an action is secured?
body: <p>I would like to check from inside a controller if it is a secured page or not.
  How to do this ?</p>
  
  <p>My use case is the following :</p>
  
  <ul>
  <li>User can register and log in</li>
  <li>If he logs in and tries to access a secured page, he will be redirected to a "beta version" page until the end of June.</li>
  <li>If he tries to access a normal page (not secured), he will be able to access it without any redirection.</li>
  </ul>
  
  <p>Thanks for your help !</p>
  
  <p>Aurel</p>