code: public static SVNRepository repository(SVNURL url, ISVNAuthenticationManager authenticationManager) throws SVNException {
          SVNRepository repository;
  
          repository = SVNRepositoryFactory.create(url);
          repository.setAuthenticationManager(authenticationManager);
          return repository;
      }
docs: --