/**
  * @param array $projectInfo The project data db row
  *
  * @return SVN_Apache
  */
 public function get(array $projectInfo, $requested_authentication_method)
 {
     $project = $this->project_manager->getProjectFromDbRow($projectInfo);
     $project_authorizes_tokens = $this->token_manager->isProjectAuthorizingTokens($project);
     $svn_apache_auth = $this->getModFromPlugins($projectInfo, $requested_authentication_method, $project_authorizes_tokens);
     if (!$svn_apache_auth) {
         if ($project_authorizes_tokens) {
             $svn_apache_auth = new SVN_Apache_ModPerl($projectInfo);
         } else {
             $svn_apache_auth = $this->getModFromLocalIncFile($projectInfo, $requested_authentication_method);
         }
     }
     return $svn_apache_auth;
 }
 /**
  * @param array $projectInfo The project data db row
  *
  * @return SVN_Apache
  */
 public function get($projectInfo)
 {
     $requested_authentication_method = ForgeConfig::get(SVN_Apache_SvnrootConf::CONFIG_SVN_AUTH_KEY);
     $svn_apache_auth = $this->getModFromPlugins($projectInfo, $requested_authentication_method);
     if (!$svn_apache_auth) {
         $project = $this->project_manager->getProjectFromDbRow($projectInfo);
         if ($this->token_manager->isProjectAuthorizingTokens($project)) {
             $svn_apache_auth = new SVN_Apache_ModPerl($projectInfo);
         } else {
             $svn_apache_auth = $this->getModFromLocalIncFile($projectInfo, $requested_authentication_method);
         }
     }
     return $svn_apache_auth;
 }