|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.weblab.content.impl.FileContentManager
org.ow2.weblab.content.impl.SecureFileContentManager
public final class SecureFileContentManager
| Field Summary |
|---|
| Fields inherited from class org.ow2.weblab.content.impl.FileContentManager |
|---|
FILE_CONTENT_MANAGER_PROPERTIES_FILE, FILE_SCHEME, FOLDER_CONTENT_DEFAULT_PATH, FOLDER_CONTENT_PATH_PROPERTY_NAME, NETWORK_SCHEMES, PREFIX, SUFFIX |
| Constructor Summary | |
|---|---|
SecureFileContentManager()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class org.ow2.weblab.content.impl.FileContentManager |
|---|
checkAndBuildContentPath, getContentFolder, getLogger, writeContent, writeExposedContent |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecureFileContentManager()
| Method Detail |
|---|
public 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 read
org.ow2.weblab.core.extended.exception.WebLabCheckedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||