Author: kfujino
Date: Wed Jun 6 09:08:36 2012
New Revision: 1346795
URL: http://svn.apache.org/viewvc?rev=1346795&view=rev
Log:
Add support for SecureRandom to cluster manager template.
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml
tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java?rev=1346795&r1=1346794&r2=1346795&view=diff
==============================================================================
---
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java
(original)
+++
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java
Wed Jun 6 09:08:36 2012
@@ -189,6 +189,9 @@ public abstract class ClusterManagerBase
copy.setProcessExpiresFrequency(getProcessExpiresFrequency());
copy.setNotifyListenersOnReplication(isNotifyListenersOnReplication());
copy.setSessionAttributeFilter(getSessionAttributeFilter());
+ copy.setSecureRandomClass(getSecureRandomClass());
+ copy.setSecureRandomProvider(getSecureRandomProvider());
+ copy.setSecureRandomAlgorithm(getSecureRandomAlgorithm());
}
}
Modified:
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml?rev=1346795&r1=1346794&r2=1346795&view=diff
==============================================================================
---
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml
(original)
+++
tomcat/tc7.0.x/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml
Wed Jun 6 09:08:36 2012
@@ -97,10 +97,6 @@
type="int"
writeable="false"/>
<attribute
- name="algorithm"
- description="The message digest algorithm to be used when generating
session identifiers"
- type="java.lang.String"/>
- <attribute
name="className"
description="Fully qualified class name of the managed object"
type="java.lang.String"
@@ -204,10 +200,6 @@
description="Number of duplicated session ids generated"
type="int"/>
<attribute
- name="entropy"
- description="A String initialization parameter used to increase the
entropy of the initialization of our random number generator"
- type="java.lang.String"/>
- <attribute
name="expiredSessions"
description="Number of sessions that expired ( doesn't include explicit
invalidations )"
type="long"/>
@@ -328,6 +320,18 @@
is="true"
description="Is no context manager message received? "
type="boolean"/>
+ <attribute
+ name="secureRandomAlgorithm"
+ description="The secure random number generator algorithm name"
+ type="java.lang.String"/>
+ <attribute
+ name="secureRandomClass"
+ description="The secure random number generator class name"
+ type="java.lang.String"/>
+ <attribute
+ name="secureRandomProvider"
+ description="The secure random number generator provider name"
+ type="java.lang.String"/>
<operation
name="expireSession"
description="Expired the given session"
@@ -441,10 +445,6 @@
type="int"
writeable="false"/>
<attribute
- name="algorithm"
- description="The message digest algorithm to be used when generating
session identifiers"
- type="java.lang.String"/>
- <attribute
name="className"
description="Fully qualified class name of the managed object"
type="java.lang.String"
@@ -458,10 +458,6 @@
description="Number of duplicated session ids generated"
type="int"/>
<attribute
- name="entropy"
- description="A String initialization parameter used to increase the
entropy of the initialization of our random number generator"
- type="java.lang.String"/>
- <attribute
name="expiredSessions"
description="Number of sessions that expired ( doesn't include explicit
invalidations )"
type="long"/>
@@ -545,6 +541,18 @@
name="rpcTimeout"
description="Timeout for RPC messages, how long we will wait for a reply"
type="long"/>
+ <attribute
+ name="secureRandomAlgorithm"
+ description="The secure random number generator algorithm name"
+ type="java.lang.String"/>
+ <attribute
+ name="secureRandomClass"
+ description="The secure random number generator class name"
+ type="java.lang.String"/>
+ <attribute
+ name="secureRandomProvider"
+ description="The secure random number generator provider name"
+ type="java.lang.String"/>
<operation
name="expireSession"
description="Expired the given session"
Modified: tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml
URL:
http://svn.apache.org/viewvc/tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml?rev=1346795&r1=1346794&r2=1346795&view=diff
==============================================================================
--- tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml (original)
+++ tomcat/tc7.0.x/trunk/webapps/docs/changelog.xml Wed Jun 6 09:08:36 2012
@@ -286,6 +286,9 @@
<bug>53087</bug>: In order to avoid that a backup node expire a
session,
replicate session access time in BackupManager. (kfujino)
</fix>
+ <add>
+ Add support for SecureRandom to cluster manager template. (kfujino)
+ </add>
</changelog>
</subsection>
<subsection name="Web applications">
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]