Provide default Java parameters for SecureRandom
On the official XWiki image https://github.com/xwiki/xwiki-docker/blob/master/template/tomcat/setenv.sh#L35, XWiki provides for SecureRandom class (with java.security.egd
property) value to use file:/dev/./urandom
to combine security and efficiency, ensuring better unpredictability of random values.
We need to provide the same feature from the official XWiki image on this Jetty image, with a custom initialization (xwiki-defaults.ini
) file to be loaded by Jetty (from $JETTY_HOME/start.d
folder) with this custom value.
Edited by Guilherme Sautner