private void initRandom ( ) { try { random = new SecureRandom ( ) ; } catch ( Exception e ) { log . warn ( "Could not generate SecureRandom for session-id randomness" , e ) ; random = new Random ( ) ; weakRandom = true ; } }
Set up a random number generator for the sessionids .