You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ji...@locus.apache.org on 2000/08/23 22:22:06 UTC

cvs commit: jakarta-tomcat/src/etc server.xml

jiricka     00/08/23 13:22:06

  Modified:    src/etc  server.xml
  Log:
  Allowing the user to specify a random class to be used for generating session ids. By default, java.security.SecureRandom is used, but other classes (e.g. java.util.Random) can be used too, which may improve startup time.
  
  Revision  Changes    Path
  1.37      +6 -1      jakarta-tomcat/src/etc/server.xml
  
  Index: server.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-tomcat/src/etc/server.xml,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- server.xml	2000/08/14 21:54:09	1.36
  +++ server.xml	2000/08/23 20:22:04	1.37
  @@ -88,7 +88,12 @@
            all relative paths. If none is set, the TOMCAT_HOME property
            will be used, and if not set "." will be used.
            webapps/, work/ and log/ will be relative to this ( unless 
  -         set explicitely to absolute paths )
  +         set explicitely to absolute paths ).
  +         You can also specify a "randomClass" attribute, which determines 
  +         a subclass of java.util.Random will be used for generating session IDs.
  +         By default this is "java.security.SecureRandom". 
  +         Specifying "java.util.Random" will speed up Tomcat startup, 
  +         but it will cause sessions to be less secure.
         -->
       <ContextManager debug="0" workDir="work" >
           <!--