/**
  * Returns true if the action must always be called in SSL.
  *
  * @param  sfAction A sfAction instance
  *
  * @return Boolean  true if the action must always be called in SSL, false otherwise
  */
 protected function sslRequired(sfAction $action)
 {
     $security = $action->getSecurityConfiguration();
     $actionName = $action->getActionName();
     if (isset($security[$actionName]['require_ssl'])) {
         return $security[$actionName]['require_ssl'];
     }
     if (isset($security['all']['require_ssl'])) {
         return $security['all']['require_ssl'];
     }
     return false;
 }