/** * Our constructor. */ public CredentialsProviderManager() { try { XmlFile xml = getConfigFile(); if (xml.exists()) { xml.unmarshal(this); } } catch (IOException e) { LOGGER.log(Level.SEVERE, "Failed to read the existing credentials", e); } }
/** * Our constructor. */ public CredentialsProviderManager() { try { XmlFile xml = getConfigFile(); if (xml.exists()) { xml.unmarshal(this); } } catch (IOException e) { LOGGER.log(Level.SEVERE, "Failed to read the existing credentials", e); } }
/** * {@inheritDoc} */ @Override public void save() throws IOException { checkPermission(Jenkins.ADMINISTER); getConfigFile().write(this); }
/** * {@inheritDoc} */ @Override public void save() throws IOException { checkPermission(Jenkins.ADMINISTER); getConfigFile().write(this); }