I’s setup Flowable to run with MSSQL and persist in the DB. I also create a “new” administrator account (new password, login name).
But there are still the “default users” for all webapps left. Every time I restart the Tomcat the default users are setup again - which I don’t like to happen.
When I comment the property settings e.g. like this:
# Content engine
flowable.admin.app.server-config.content.name=Flowable Content app
flowable.admin.app.server-config.content.description=Flowable Content REST config
flowable.admin.app.server-config.content.server-address=http://localhost
flowable.admin.app.server-config.content.port=12080
flowable.admin.app.server-config.content.context-root=flowable-task
flowable.admin.app.server-config.content.rest-root=content-api
#flowable.admin.app.server-config.content.user-name=admin
#flowable.admin.app.server-config.content.password=test
I get a startup exception for flowable-admin
:
Caused by: java.lang.IllegalArgumentException: flowable.admin.app.server-config.process.user-name must be set
at org.springframework.util.Assert.hasText(Assert.java:276)
at org.flowable.admin.properties.FlowableAdminAppProperties.validateServerConfig(FlowableAdminAppProperties.java:90)
at org.flowable.admin.properties.FlowableAdminAppProperties.afterPropertiesSet(FlowableAdminAppProperties.java:75)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1769)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1706)
... 92 more
Is there a way to just drop this information? I don’t want the default users to be generated or grant their privileges.