@OutputFile public File getEncryptedPropertiesFile() { return credentialsPersistenceManager.getCredentialsFile(); }
public void storeCredentials(OrderedProperties credentials) { // write the updated credentials File file = getCredentialsFile(); LOGGER.debug("Write updated credentials file: " + file.getAbsolutePath()); saveProperties(credentials, file); }
public void storeCredentials(OrderedProperties credentials) { // write the updated credentials File file = getCredentialsFile(); LOGGER.debug("Write updated credentials file: " + file.getAbsolutePath()); saveProperties(credentials, file); }
@OutputFile public File getEncryptedPropertiesFile() { return credentialsPersistenceManager.getCredentialsFile(); }
@OutputFile public File getEncryptedPropertiesFile() { return credentialsPersistenceManager.getCredentialsFile(); }
@OutputFile public File getEncryptedPropertiesFile() { return credentialsPersistenceManager.getCredentialsFile(); }
public OrderedProperties readCredentials() { OrderedProperties credentials = createOrderedProperties(); // read the file with the encrypted credentials, if it already exists File file = getCredentialsFile(); if (file.exists()) { LOGGER.debug("Read existing credentials file: " + file.getAbsolutePath()); loadProperties(credentials, file); } else { LOGGER.debug("Credentials file does not exist yet: " + file.getAbsolutePath()); } return credentials; }
public OrderedProperties readCredentials() { OrderedProperties credentials = createOrderedProperties(); // read the file with the encrypted credentials, if it already exists File file = getCredentialsFile(); if (file.exists()) { LOGGER.debug("Read existing credentials file: " + file.getAbsolutePath()); loadProperties(credentials, file); } else { LOGGER.debug("Credentials file does not exist yet: " + file.getAbsolutePath()); } return credentials; }