Author: kfujino Date: Wed Jun 6 09:06:36 2012 New Revision: 1346794 URL: http://svn.apache.org/viewvc?rev=1346794&view=rev Log: Add support for SecureRandom to cluster manager template.
Modified: tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java tomcat/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml Modified: tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java?rev=1346794&r1=1346793&r2=1346794&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java (original) +++ tomcat/trunk/java/org/apache/catalina/ha/session/ClusterManagerBase.java Wed Jun 6 09:06: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/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml?rev=1346794&r1=1346793&r2=1346794&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml (original) +++ tomcat/trunk/java/org/apache/catalina/ha/session/mbeans-descriptors.xml Wed Jun 6 09:06:36 2012 @@ -87,10 +87,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" @@ -194,10 +190,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"/> @@ -313,6 +305,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" @@ -426,10 +430,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" @@ -443,10 +443,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"/> @@ -530,6 +526,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" --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org