1
如何使用HTTPS連接到使用SVNKit的Subversion存儲庫? 我使用與HTTP連接以前能用的辦法:使用HTTPS連接到使用SVNKit的Subversion存儲庫
DAVRepositoryFactory.setup();
repository = SVNRepositoryFactory.create(SVNURL.parseURIDecoded(url));
ISVNAuthenticationManager authManager = SVNWCUtil.createDefaultAuthenticationManager(name, password);
repository.setAuthenticationManager(authManager);
repositoryRoot = repository.getRepositoryRoot(false).toString();
我得到的
org.tmatesoft.svn.core.SVNAuthenticationException: svn: Authentication required for '<https://daisy.interorigins.com:443> MY repository'
請您提供SVN連接您的完整的工作代碼,以便我可以得到大的圖片? – Lucy