Document new "sessionAttributeFilter" for cluster
authorrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 18 Sep 2011 09:33:21 +0000 (09:33 +0000)
committerrjung <rjung@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 18 Sep 2011 09:33:21 +0000 (09:33 +0000)
managers.

git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1172236 13f79535-47bb-0310-9956-ffa450edef68

webapps/docs/config/cluster-manager.xml

index 8e92c71..ca61ca9 100644 (file)
         sessions to expire on all nodes when a shutdown occurs on one node, set
         this value to <code>true</code>. Default value is <code>false</code>.
       </attribute>
+      <attribute name="sessionAttributeFilter" required="false">
+        A regular expression used to filter, which session attributes will
+        be replicated. An attribute will only be replicated, if its name
+        matches this pattern. If the pattern is not set (default), all
+        attributes are eligible for replication. As an example, the value
+        <code>^(userName|sessionHistory)$</code> will onlyreplicate the two
+        session attributes named <code>userName</code> and
+        <code>sessionHistory</code>.
+      </attribute>
     </attributes>
   </subsection> 
   <subsection name="org.apache.catalina.ha.session.DeltaManager Attributes">