public class UserNameAwareTempFileCreationStrategy extends DefaultTempFileCreationStrategy
DefaultTempFileCreationStrategy
that avoids permission issues when deploying applications with multiple users on the same server.
Other than adding the username to the temporary directory, all other behavior is the same as the superclass.DELETE_FILES_ON_EXIT, POIFILES| Constructor and Description |
|---|
UserNameAwareTempFileCreationStrategy() |
| Modifier and Type | Method and Description |
|---|---|
protected Path |
getPOIFilesDirectoryPath() |
createTempDirectory, createTempFile, getJavaIoTmpDirpublic UserNameAwareTempFileCreationStrategy()
protected Path getPOIFilesDirectoryPath() throws IOException
getPOIFilesDirectoryPath in class DefaultTempFileCreationStrategyIOException