public abstract class PropertiesFileValidator extends Object implements Validator
Modifier and Type | Field and Description |
---|---|
protected List<Alert> |
alerts |
protected static String |
GENERIC_INSECURE_DEFAULTS_MSG |
protected Path |
path |
Constructor and Description |
---|
PropertiesFileValidator() |
Modifier and Type | Method and Description |
---|---|
protected Properties |
readFile() |
protected Properties |
readFile(boolean validateExists) |
protected void |
resetAlerts() |
void |
setPath(Path path) |
abstract List<Alert> |
validate() |
protected static final String GENERIC_INSECURE_DEFAULTS_MSG
protected Path path
public void setPath(Path path)
protected Properties readFile()
protected Properties readFile(boolean validateExists)
protected void resetAlerts()
This work is licensed under a Creative Commons Attribution 4.0 International License.