class FileCreateTempFileRule extends AbstractAstVisitorRule
The File.createTempFile() method is insecure, and has been deprecated by the ESAPI secure coding library. It has been replaced by the ESAPI Randomizer.getRandomFilename(String) method. By default, this rule does not apply to test files.
Fields inherited from class | Fields |
---|---|
class AbstractAstVisitorRule |
CLOSURE_TEXT, DEFAULT_CONST_NAME, DEFAULT_FIELD_NAME, DEFAULT_TEST_CLASS_NAMES, DEFAULT_TEST_FILES, DEFAULT_VAR_NAME |
Type | Name and description |
---|---|
java.lang.Class |
astVisitorClass |
java.lang.String |
doNotApplyToFilesMatching |
java.lang.String |
name |
int |
priority |
Constructor and description |
---|
FileCreateTempFileRule
() |
Groovy Documentation