org.sharedrecords.properties
A configuration file which controls how the demo application treats files and encrypted records.
Take a look at the default properties file as an example: source:trunk/etc/org.sharedrecords.properties
Settings
- org.sharedrecords.core.RemoteURL
- The URL to the SharedRecords server; ie, http://sra.sharedrecords.org:8080/SRCDataStore
- org.sharedrecords.core.DataStoreMode
- Mode in which the datastore should operate. The value should be the string "Local" for using a directory on the local hard disk as the datastore, or "Remote" for connecting to the remote server. If the DataStoreMode is set to "Remote" and the RemoteURL is not set, an error will be thrown.
- org.sharedrecords.core.TransactionFile
- Name of file to store transaction logs in. The path is relative to the value of org.sharedrecords.core.FileStoreRoot, which is usually set at installation time. You need not prepend a forward slash to the filename.
- org.sharedrecords.core.FileStoreRoot
- The directory in which to store encrypted records; ie, /opt/SUNWappserver/domains/domain2/applications/j2ee-modules/SharedRecords/data_store. This property should only be set for server installation.
- org.sharedrecords.DefaultPropertyFile
- At installation time, the demo app will back up your .properties files so that at any point you can revert to default settings. The value of this variable is relative to the directory you install the demo into.
- org.sharedrecords.OtherPropertyFiles
- A colon or semicolon seperated list of files that contain application properties. The path is relative to the installation directory.
- org.sharedrecords.demo.LocalKeyStore
- Directory, relative to the installation directory, in which users' private keys are encrypted and stored.
- org.sharedrecords.demo.ksFile
- Name of file in which keys are stored, relative to LocalKeyStore.
- org.sharedrecords.demo.acrobatPath
- Local installation of Acrobat Reader, required to display PDFs.
- org.sharedrecords.demo.PreferencesSetupFile
- Location of the xml file that is used to dynamically generate the GUI in the preferences dialog. Relative to the installation directory.
- org.sharedrecords.demo.maxLogin
- Maximum number of failed login attempts before the demo application shuts down.
- org.sharedrecords.demo.unEncryptSK
- Boolean value indicating whether the symmetric keys printed in QR codes should be wrapped in the user's public key or not.
- org.sharedrecords.demo.checkCacheFirst
- Boolean value indicating whether a local cache of all records created by this application should be checked first before sending a query to the remote SharedRecords server.
- org.sharedrecords.demo.autorecord.monitoredPath
- Absolute path to a directory to watch for new files. New files will automatically be loaded and encrypted as SharedRecords.
- org.sharedrecords.demo.cachefile
- Path, relative to the installation dir, of the cache file.
- org.sharedrecords.demo.autorecord.frequency
- Length of time, in milliseconds, to wait between checks of the autorecord directory for new files.
- org.sharedrecords.demo.autorecord.waitTime
- Time, in seconds, to wait after the Autorecord dialog prompts for additional information about a file before automatically creating an ownerless SharedRecord.
- org.sharedrecords.demo.imagecapture.waitTime
- Time, in seconds, to wait after an image has been scanned into the camera before automatically creating an ownerless SharedRecord from the image.
