Author: remy.maucherat(a)jboss.com
Date: 2011-04-20 05:03:58 -0400 (Wed, 20 Apr 2011)
New Revision: 1708
Modified:
trunk/java/org/apache/catalina/connector/Request.java
Log:
- Change name.
Modified: trunk/java/org/apache/catalina/connector/Request.java
===================================================================
--- trunk/java/org/apache/catalina/connector/Request.java 2011-04-19 23:27:37 UTC (rev
1707)
+++ trunk/java/org/apache/catalina/connector/Request.java 2011-04-20 09:03:58 UTC (rev
1708)
@@ -160,8 +160,8 @@
Boolean.valueOf(System.getProperty("org.apache.catalina.connector.Request.LOCAL_RANDOM",
(org.apache.tomcat.util.Constants.LOW_MEMORY) ? "false" :
"true")).booleanValue();
- protected static final boolean SEED_WITH_GLOBAL_RANDOM =
-
Boolean.valueOf(System.getProperty("org.apache.catalina.connector.Request.SEED_WITH_GLOBAL_RANDOM",
"true")).booleanValue();
+ protected static final boolean SEED_WITH_NEXT_BYTES =
+
Boolean.valueOf(System.getProperty("org.apache.catalina.connector.Request.SEED_WITH_NEXT_BYTES",
"true")).booleanValue();
// ----------------------------------------------------------- Constructors
@@ -639,7 +639,7 @@
public void setConnector(Connector connector) {
this.connector = connector;
if (LOCAL_RANDOM) {
- if (SEED_WITH_GLOBAL_RANDOM) {
+ if (SEED_WITH_NEXT_BYTES) {
byte[] seed = new byte[16];
connector.getService().getRandom().nextBytes(seed);
random = new SecureRandom(seed);
Show replies by date