...
By default, this configuration file has the name 'taskanaroles.properties' and is searched in the classpath. In addition, the separator '|' is used. Both defaults can be changed by specifying the property filename and separator explicitely when creating the TaskanaEngineConfiguration via constructor.
Code Block |
---|
TaskanaEngineConfiguration(DataSource dataSource, boolean useManagedTransactions, boolean securityEnabled, String propertiesFileName, String propertiesSeparator) |
...
If in this call, either propertiesFileName or propertiesSeparator is null, Taskana uses the default value is used.
If for example, taskana should you want Taskana to use the 'application.properties' file from the classpath, you should specify "/application.properties" as propertiesFileName.
You may also specify a fully qualified filename that addresses a file directly. In this case, that file is not searched on the classpath but loaded by its name.
Please note, that if you specify a non-default propertiesSeparator, the access ids must not contain any character that is contained in this propertiesSeparator.
If Taskana doesn't find a configuration file, it operates with empty roles.