You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by sc...@apache.org on 2015/11/04 20:31:19 UTC

svn commit: r1712617 - /tomcat/trunk/java/org/apache/catalina/realm/CombinedRealm.java

Author: schultz
Date: Wed Nov  4 19:31:17 2015
New Revision: 1712617

URL: http://svn.apache.org/viewvc?rev=1712617&view=rev
Log:
Fix https://bz.apache.org/bugzilla/show_bug.cgi?id=58582
Perform background-processing on sub-realms.

Modified:
    tomcat/trunk/java/org/apache/catalina/realm/CombinedRealm.java

Modified: tomcat/trunk/java/org/apache/catalina/realm/CombinedRealm.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/catalina/realm/CombinedRealm.java?rev=1712617&r1=1712616&r2=1712617&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/catalina/realm/CombinedRealm.java (original)
+++ tomcat/trunk/java/org/apache/catalina/realm/CombinedRealm.java Wed Nov  4 19:31:17 2015
@@ -292,6 +292,17 @@ public class CombinedRealm extends Realm
         super.destroyInternal();
     }
 
+    /**
+     * Delegate the backgroundProcess call to all sub-realms.
+     */
+    @Override
+    public void backgroundProcess()
+    {
+        super.backgroundProcess();
+
+        for( Realm r: realms )
+            r.backgroundProcess();
+    }
 
     /**
      * Return the Principal associated with the specified chain of X509



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org