costin 01/03/20 22:55:40 Modified: src/etc modules.xml server.xml Log: Added the new modules ( definitions and in server.xml ) Revision Changes Path 1.2 +13 -3 jakarta-tomcat/src/etc/modules.xml Index: modules.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/etc/modules.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- modules.xml 2001/02/09 04:44:55 1.1 +++ modules.xml 2001/03/21 06:55:40 1.2 @@ -280,13 +280,23 @@ <module name="SimpleSessionStore" javaClass="org.apache.tomcat.modules.session.SimpleSessionStore"> <category name="session"/> <doc>Not yet</doc> -<attribute name="checkInterval"> -<doc>Not yet</doc> -</attribute> <attribute name="maxActiveSessions"> <doc>Not yet</doc> </attribute> +</module> + +<module name="SessionIdGenerator" javaClass="org.apache.tomcat.modules.session.SessionIdGenerator"> +<category name="session"/> +<doc>Not yet</doc> <attribute name="randomClass"> +<doc>Not yet</doc> +</attribute> +</module> + +<module name="SessionExpirer" javaClass="org.apache.tomcat.modules.session.SessionExpirer"> +<category name="session"/> +<doc>Not yet</doc> +<attribute name="checkInterval"> <doc>Not yet</doc> </attribute> </module> 1.71 +5 -2 jakarta-tomcat/src/etc/server.xml Index: server.xml =================================================================== RCS file: /home/cvs/jakarta-tomcat/src/etc/server.xml,v retrieving revision 1.70 retrieving revision 1.71 diff -u -r1.70 -r1.71 --- server.xml 2001/02/10 16:53:15 1.70 +++ server.xml 2001/03/21 06:55:40 1.71 @@ -38,7 +38,11 @@ <SimpleMapper1 debug="0" /> + <SessionExpirer checkInterval="60" /> + <!-- For development you can use randomClass="java.util.Random" --> + <SessionIdGenerator randomClass="java.security.SecureRandom" /> + <!-- ========== context processing modules ========== --> <!-- This will be the "default" profile ( all except the "global" modules can be set per context ) @@ -78,8 +82,7 @@ <ReloadInterceptor fullReload="true" /> - <SimpleSessionStore checkInterval="60" - maxActiveSessions="-1" /> + <SimpleSessionStore maxActiveSessions="-1" /> <AccessInterceptor />