We need to customize spark for our client to connect to our network. Depending on the client configuration, we will connect differently to our server. I was thinking to add some preferences in the LoginDialog (just liek the one used for sso ..), and to add a sparkplug which would handle connection on specific port. I thought to use the sparkplug system, because we use some library developed internally, and we don't want to provide the source code for this.
My problem, is that the sparkplug api seems to load the plugins only once spark is logged on the server. (because the saprk manager workspace /mainwindow are loaded only once the login is valid), but in my case I want to load my plugin before, just when the user click on the login button.
Again, I could just modify the spark sources to do that, but as wedon't want to provide the source code for this, for security reason, I do not want this part to be directly within spark source code.
Does someone see some work around here ?