java使用HTTPS通过SVNKit连接到Subversion存储库
如何使用HTTPS通过SVNKit连接到Subversion存储库? 我使用了之前使用http连接的方法:
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'
# 1 楼答案
我的解决方案: