HashMap attrs = new HashMap();
HashMap<String, String> attrs = new HashMap<String, String>();
    private static synchronized void refresh(boolean reload) throws ServiceException {        Config config = Provisioning.getInstance().getConfig();        // force reload        if (reload)            config.reload();                String[] keys = config.getMultiAttr(Provisioning.A_zimbraAuthTokenKey);        if (keys.length == 0) {            config.reload();            keys = config.getMultiAttr(Provisioning.A_zimbraAuthTokenKey);        }        // bootstrap. automatically create new random key        if (keys.length == 0) {            AuthTokenKey key = new AuthTokenKey(0, null);            HashMap attrs = new HashMap();            attrs.put(Provisioning.A_zimbraAuthTokenKey, key.getEncoded());            config.modifyAttrs(attrs);            keys = config.getMultiAttr(Provisioning.A_zimbraAuthTokenKey);        }        for (int i=0; i < keys.length; i++) {            AuthTokenKey key = (AuthTokenKey) mCache.get(keys[i]);            if (key == null) {                key = new AuthTokenKey(keys[i]);                mCache.put(keys[i], key);                mCache.put(Long.toString(key.mVersion), key);                if (sLatestKey == null || sLatestKey.mVersion < key.mVersion)                    sLatestKey = key;            }        }            }