Repository: karaf
Updated Branches:
  refs/heads/master 040c805f4 -> ad3e4bd98


[KARAF-4784] OsgiConfiguration for JAAS should fallback to default configuration

Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/ad3e4bd9
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/ad3e4bd9
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/ad3e4bd9

Branch: refs/heads/master
Commit: ad3e4bd98e71eba03fd79f8fae1194f4c803c7aa
Parents: 040c805
Author: Guillaume Nodet <gno...@apache.org>
Authored: Thu Dec 1 17:16:03 2016 +0100
Committer: Guillaume Nodet <gno...@apache.org>
Committed: Thu Dec 1 17:16:03 2016 +0100

----------------------------------------------------------------------
 .../org/apache/karaf/jaas/config/impl/OsgiConfiguration.java     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/ad3e4bd9/jaas/config/src/main/java/org/apache/karaf/jaas/config/impl/OsgiConfiguration.java
----------------------------------------------------------------------
diff --git 
a/jaas/config/src/main/java/org/apache/karaf/jaas/config/impl/OsgiConfiguration.java
 
b/jaas/config/src/main/java/org/apache/karaf/jaas/config/impl/OsgiConfiguration.java
index 522507d..cdc2471 100644
--- 
a/jaas/config/src/main/java/org/apache/karaf/jaas/config/impl/OsgiConfiguration.java
+++ 
b/jaas/config/src/main/java/org/apache/karaf/jaas/config/impl/OsgiConfiguration.java
@@ -75,6 +75,8 @@ public class OsgiConfiguration extends Configuration {
     }
 
     public void refresh() {
-        // Nothing to do, as we auto-update the configuration
+        if (defaultConfiguration != null) {
+            defaultConfiguration.refresh();
+        }
     }
 }

Reply via email to