MCPcopy Index your code
hub / github.com/OWASP/SecurityShepherd / removeAuthFile

Method removeAuthFile

src/main/java/servlets/Setup.java:137–143  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

135 }
136
137 private static void removeAuthFile() {
138 if (!Files.exists(Paths.get(Constants.SETUP_AUTH), LinkOption.NOFOLLOW_LINKS)) {
139 log.info("Could not find " + Constants.SETUP_AUTH);
140 } else {
141 FileUtils.deleteQuietly(new File(Constants.SETUP_AUTH));
142 }
143 }
144
145 private synchronized void executeSqlScript() throws InstallationException {
146

Callers 1

doPostMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected