(ref: https://github.com/tigase/tigase-server/issues/196)
EDIT: ref 1dev: tigase/_server/server-core#1496
Added check if the value is configured in $JAVA_HOME/jre/lib/security/java.security then it will be used, otherwise we will set it.
$JAVA_HOME/jre/lib/security/java.security
(ref: https://github.com/tigase/tigase-server/issues/196)
EDIT: ref 1dev: tigase/_server/server-core#1496