Understanding the upload security adapter interface
To implement a custom upload security adapter, create a class that implements the com.actuate.iportal.security.IUploadSecurityAdapter interface. This interface defines the following methods.
The request parameter sent from the iHub Visualization Platform client web application.
filePath
String. The path of the file stored on iHub Visualization Platform client. The default location is the directory specified by TEMP_FOLDER_LOCATION parameter in web.xml.
dstPath
String. The repository path to which the upload sends the file.
Description
A required method used to do additional validation of the upload file.
Returns
Boolean. True for successful file validation and False otherwise.