myLastAuth = authManager.getNextAuthentication(ISVNAuthenticationManager.PASSWORD, realm, myLocation);
myLastAuth = authManager.getNextAuthentication(ISVNAuthenticationManager.PASSWORD, realm, location);
    public Credentials getCredentials(AuthScheme scheme, String host, int port, boolean proxy) throws CredentialsNotAvailableException {        if (proxy) {            return null;        }        ISVNAuthenticationManager authManager = myRepository.getAuthenticationManager();        if (authManager == null) {            return null;        }        String realm = "<" + myLocation.getProtocol() + "://" + host + ":" + port + ">";        if (scheme != null && scheme.getRealm() != null) {            realm += " " + scheme.getRealm();        }        try {            if (myLastAuth == null) {                myLastAuth = authManager.getFirstAuthentication(ISVNAuthenticationManager.PASSWORD, realm, myLocation);            } else {                authManager.acknowledgeAuthentication(false, ISVNAuthenticationManager.PASSWORD, realm, null, myLastAuth);                myLastAuth = authManager.getNextAuthentication(ISVNAuthenticationManager.PASSWORD, realm, myLocation);            }        } catch (SVNException e) {            return null;        }        return new UsernamePasswordCredentials(myLastAuth.getUserName() + ":" + ((SVNPasswordAuthentication) myLastAuth).getPassword());    }