credentials.setStorageAllowed(store);
    public void addAuthentication(String realm, SVNAuthentication credentials, boolean store) {        if (credentials == null) {            return;        }        if (!isAuthStorageEnabled() || !credentials.isStorageAllowed()) {            store = false;        }        DebugLog.log("saving credentials, store auth: " + store);        String kind = credentials.getKind();        if (!store) {            if (!myCachedAuths.containsKey(kind)) {                myCachedAuths.put(kind, new ArrayList());            }            List cached = (List) myCachedAuths.get(kind);            // force removal of 'default' creds.            if (cached.size() > 0 && ((SVNAuthentication) cached.get(0)).getRealm() == null) {                cached.remove(0);            }            cached.remove(credentials);            cached.add(0, credentials);        } else {            if (realm == null) {                realm = credentials.getRealm();            }            saveCredentials(kind, realm, credentials);        }    }