public final class SecureFileContentManager extends FileContentManager
FILE_CONTENT_MANAGER_PROPERTIES_FILE, FILE_SCHEME, FOLDER_CONTENT_DEFAULT_PATH, FOLDER_CONTENT_PATH_PROPERTY_NAME, NETWORK_SCHEMES, PREFIX, SUFFIX| Constructor and Description |
|---|
SecureFileContentManager() |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
readContent(java.net.URI destUri)
This method overrides the unsecure one by verifying if the generated path for
files is a child of the file content manager path
|
checkAndBuildContentPath, getContentFolder, getLogger, writeContent, writeExposedContentpublic java.io.File readContent(java.net.URI destUri)
throws org.ow2.weblab.core.extended.exception.WebLabCheckedException
readContent in interface ContentReaderreadContent in class FileContentManagerdestUri - the URI of the content to readorg.ow2.weblab.core.extended.exception.WebLabCheckedExceptionCopyright © 2004-2012. All Rights Reserved.