Description
The Infinispan image now allows users to provide a CLI batch file in order to create users and roles via the IDENTITIES_BATCH env var. The CLI batch is executed in offline mode before the server starts. This functionality is used by the Infinispan helm-chart and Operator.
Currently the identities-batch is executed using an additional cli.sh process that is executed before server.sh is called.
The server/runtime module already has all of the required dependencies for this functionality, so we should add support for this to the server itself.
For example ./bin/server.sh --identities-batch=/foo/bar