init Equinox Environment

open fun initEquinoxEnvironment(storagePath: String, saveMessage: String, context: Class<out Any>, args: Array<String>, customSubDirectories: Array<String>)

Method to init the serverProtector and create the resources directories correctly

Parameters

storagePath

: instance to manage the storage of the server secret

saveMessage

: the message to print when the server secret has been generated, the start of the message is "Note: is not an error, but is an alert! Please you should safely save: server_secret_token_generated"

context

: the launcher Class where this method has been invoked

args

: custom arguments to share with SpringApplication and with the serverProtector

customSubDirectories

: the custom subdirectories of the user