Honestly, I was simply curious why the cryptographically secure generation of random unique ids (through java.security.SecureRandom API) is disabled by default.
And It was unclear to me if it is at all possible to change the default behavior. Thanks, Franckie14 2011/6/14 Mark Thomas <ma...@apache.org> > On 13/06/2011 22:43, Christopher Schultz wrote: > > Frank, > > > > On 6/13/2011 11:46 AM, franckie frank wrote: > >> I ve noticed that in Tomcat 7.0.14 s > >> org.apache.catalina.tribes.io.ChannelData there is public static field > > > >> 'public static volatile boolean USE_SECURE_RANDOM_FOR_UUID'. > > > >> and it seems to be used only once in the same class. By default its > value is > >> false. > > > >> Do you know if there is a way to change/configure its value? > > > > How about: > > > > import org.apache.catalina.tribes.io.ChannelData; > > > > ... > > > > ChannelData.USE_SECURE_RANDOM_FOR_UUID = true; > > But that begs the questions, why would you want to? > > Mark > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >