FilesStorage
Note
Should be placed under "MODULES"
Properties
| Name | Description | Default value | Mandatory | Supports property expansion |
|---|---|---|---|---|
| read_only | Whether or not the file storages should be able to only read or to also be able to write | true | false | false |
| name | The name of the store | default | false | false |
| store_impl | The implementing file store module | com.phenixidentity.files.internal.DefaultFilesStore | false | false |
| auth_method | The files authentication method | none | false | false |
| auth_redirect_url | Redirect URL for authentication | false | false | |
| auth_pipe | Authentication pipeline | false | false | |
| auth_param | Authentication parameters | Basic realm=" |
false | true |
| version | Version of file storage. Read more under each file store implementation | 1 | false | false |
Possible store implementations
com.phenixidentity.files.internal.DefaultFilesStorecom.phenixidentity.files.internal.DirFilesStore- com.phenixidentity.files.internal.SessionFilesStore
Possible authentication methods
none- No authenticationpipe- Pipe based authentication (will use pipe configured underauth_pipe)http- Will redirect for authentication (will use URL configured underauth_redirect_url)
Example configuration
{
"name" : "com.phenixidentity~phenix-files",
"enabled" : "true",
"id" : "files_01",
"config" : {
"read_only" : "false",
"name" : "example_storage",
"auth_method" : "pipe",
"auth_pipe" : "files_auth_pipe",
"store_impl" : "com.phenixidentity.files.internal.SessionFilesStore"
}
}