Secure properties
A connection to secure properties is set up in the workspace.properties file.
Set the following properties:
secure.storage.safe.customer.defaultsecure.storage.safe.internalsecure.storage.typesecure.storage.serverApisecure.storage.platformIdsecure.storage.client.certificatesecure.storage.client.keyPasssecure.storage.username.customer
For a development purpose, secure storage can be plain file. In this case, set secure.storage.type to LOCAL and secure.storage.serverApi to a path to any empty folder (it's not correct for WorkFusion). Set secure.storage.platformId to a path to the file with secure properties.
Sample section of secure properties in workspace.properties
Secure properties block in workspace.properties
secure.storage.safe.customer.default=local_WFApp
secure.storage.safe.internal=local_WFInternal
secure.storage.type=LOCAL
secure.storage.serverApi=/Users/workfusion/Documents/Work/local_secure_storage2/
secure.storage.platformId=${catalina.home}/conf/secure.properties
secure.storage.client.certificate=
secure.storage.client.keyPass=
secure.storage.username.customer=
List of secure properties
| Property | Notes | Default | Required |
|---|---|---|---|
ws.secure.dataSource.username | Username for Postgres Database | true | |
ws.secure.dataSource.password | Password for Postgres Database | true | |
ws.secure.captcha.secretKey | false | ||
ws.secure.captcha.siteKey | false | ||
ws.secure.mobile.sns.accessKey | SNS used on old TR instance only | SNS-ACCESS-KEY | false |
ws.secure.mobile.sns.secretKey | SNS used on old TR instance only | SNS-SECRET-KEY | false |
ws.secure.upwork.consumerKey | Upwork doesn't work | UPWORK-CONSUMER-KEY | false |
ws.secure.upwork.consumerSecret | Upwork doesn't work | UPWORK-CONSUMER-SECRET | false |
ws.secure.clickworker.clientId | Need to override on clickworker instances only | false | |
ws.secure.clickworker.clientSecret | Need to override on clickworker instances only | false | |
ws.secure.facebook.clientId | AFAIK FB is not used now | FB-CLIENT-ID | false |
ws.secure.facebook.clientSecret | AFAIK FB is not used now | FB-CLIENT-SECRET | false |
ws.secure.jwt.secret | Not used | false | |
ws.secure.ldap.server.url | dc=not-defined | false | |
ws.secure.ldap.bind.dn | not-defined | false | |
ws.secure.ldap.bind.password | not-defined | false | |
ws.sso.saml.idp.metadata | none | false | |
ws.sso.saml.idp.file.metadata | none | false | |
ws.sso.saml.username.attribute | false | ||
ws.sso.saml.sp.metadata | none | false | |
ws.mail.username | false | ||
ws.mail.password | false |