public void close() throws SVNException { if (myEncryptor != null) { myEncryptor.dispose(); myEncryptor = null; } myInputStream = null; myLoggingInputStream = null; myOutputStream = null; myConnector.close(myRepository); }
public void authenticate(SVNRepositoryImpl repository) throws SVNException { List items = read("ls", null, true); List mechs = SVNReader.getList(items, 0); if (mechs == null || mechs.size() == 0) { return; } myRealm = SVNReader.getString(items, 1); ISVNAuthenticationManager authManager = myRepository.getAuthenticationManager(); if (authManager != null && authManager.isAuthenticationForced() && mechs.contains("ANONYMOUS") && (mechs.contains("CRAM-MD5") || mechs.contains("DIGEST-MD5"))) { mechs.remove("ANONYMOUS"); } SVNAuthenticator authenticator = createSASLAuthenticator(); authenticator.authenticate(mechs, myRealm, repository); receiveRepositoryCredentials(repository); }
public void authenticate(SVNRepositoryImpl repository) throws SVNException { List items = read("ls", null, true); List mechs = SVNReader.getList(items, 0); if (mechs == null || mechs.size() == 0) { return; } myRealm = SVNReader.getString(items, 1); ISVNAuthenticationManager authManager = myRepository.getAuthenticationManager(); if (authManager != null && authManager.isAuthenticationForced() && mechs.contains("ANONYMOUS") && (mechs.contains("CRAM-MD5") || mechs.contains("DIGEST-MD5"))) { mechs.remove("ANONYMOUS"); } SVNAuthenticator authenticator = createSASLAuthenticator(); authenticator.authenticate(mechs, myRealm, repository); receiveRepositoryCredentials(repository); }
public void close() throws SVNException { if (myEncryptor != null) { myEncryptor.dispose(); myEncryptor = null; } myInputStream = null; myLoggingInputStream = null; myOutputStream = null; myConnector.close(myRepository); }
myAuthentication = authenticator.authenticate(mechs, myRealm, repository); receiveRepositoryCredentials(repository); if (authManager instanceof ISVNAuthenticationManagerExt) {
public void close() throws SVNException { if (myEncryptor != null) { myEncryptor.dispose(); myEncryptor = null; } myInputStream = null; myLoggingInputStream = null; myOutputStream = null; myConnector.close(myRepository); }