Openfire SSO Ubuntu guide

If you are an administrator on your computer, then Spark.exe needs to be run with elevated privileges (Run as Admin). If you have the rights of a regular user, then everything will work for you.
This is a longstanding issue of UAC and Java.

Or you can configure this setting on all computers through a GPO.