Author: remy.maucherat(a)jboss.com
Date: 2014-12-17 03:39:33 -0500 (Wed, 17 Dec 2014)
New Revision: 2574
Modified:
branches/7.5.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java
Log:
BZ1173313: Add hack to filter out some events, submitted by Aaron Ogburn.
Modified:
branches/7.5.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java
===================================================================
---
branches/7.5.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java 2014-12-15
13:55:19 UTC (rev 2573)
+++
branches/7.5.x/src/main/java/org/apache/catalina/authenticator/SingleSignOn.java 2014-12-17
08:39:33 UTC (rev 2574)
@@ -318,6 +318,11 @@
&& (!Session.SESSION_PASSIVATED_EVENT.equals(event.getType())))
return;
+ // We don't care about passivation events caused by replication
+ if (Session.SESSION_PASSIVATED_EVENT.equals(event.getType()) &&
(event.getData() != null)
+ && event.getData().equals("REPLICATION"))
+ return;
+
// Look up the single session id associated with this session (if any)
Session session = event.getSession();
Show replies by date