requestUtil.urlDecode.missingDigit=The % character must be followed by two hexademical digits
requestUtil.urlDecode.uee=Unable to URL decode the specified input since the encoding [{0}] is not supported.
SecurityUtil.doAsPrivilege=An exception occurs when running the PrivilegedExceptionAction block.
+sessionIdGenerator.createRandom=Creation of SecureRandom instance for session ID generation using [{0}] took [{1}] milliseconds.
sessionIdGenerator.random=Exception initializing random number generator of class [{0}]. Falling back to java.secure.SecureRandom
sessionIdGenerator.randomAlgorithm=Exception initializing random number generator using algorithm [{0}]
sessionIdGenerator.randomProviderException initializing random number generator using provider [{0}]
result = new SecureRandom();
}
- if(log.isDebugEnabled()) {
- long t2=System.currentTimeMillis();
- if( (t2-t1) > 100 )
- log.debug(sm.getString("sessionIdGenerator.createRandom",
- Long.valueOf(t2-t1)));
- }
+ // Force seeding to take place
+ result.nextInt();
+
+ long t2=System.currentTimeMillis();
+ if( (t2-t1) > 100 )
+ log.info(sm.getString("sessionIdGenerator.createRandom",
+ result.getAlgorithm(), Long.valueOf(t2-t1)));
return result;
}
}
Resolve some refactoring TODOs in the implementation of the new Context
attribute "swallowAbortedUploads". (markt)
</update>
+ <fix>
+ Include the seed time when calculating the time taken to create
+ SecureRandom instances for session ID generation, report excessive times
+ (greater than 100ms) at INFO level and provide a value for the message
+ key so a meaningful message appears in the logs. (markt)
+ </fix>
</changelog>
</subsection>
<subsection name="Coyote">