Class ProcessFileDownload
java.lang.Object
com.kingsrook.qqq.backend.core.actions.processes.ProcessFileDownload
Authorize server-produced files for the current application and session.
Registration must occur in trusted process code, never from HTTP input values.
Grants expire after 30 minutes and are bounded to 10,000 active files.
-
Method Summary
Modifier and TypeMethodDescriptionstatic booleanisStorageRegistered(StorageInput input) A trusted process may grant its exact output without granting table-wide READ.static InputStreamOpen only an exact registered path belonging to the active session.static StringGrant access to an existing process output and return its canonical path.static voidregisterStorage(StorageInput input)
-
Method Details
-
register
Grant access to an existing process output and return its canonical path.- Throws:
QException
-
open
Open only an exact registered path belonging to the active session.- Throws:
QException
-
registerStorage
- Throws:
QAuthenticationException
-
isStorageRegistered
A trusted process may grant its exact output without granting table-wide READ.- Throws:
QAuthenticationException
-