diff options
author | Jan Bartel | 2015-06-03 08:59:43 +0000 |
---|---|---|
committer | Jan Bartel | 2015-06-03 09:00:24 +0000 |
commit | 7c375c2bced2bb850ec37ce0694a2fe22f50fcbd (patch) | |
tree | 7ada0a46c91f7c8aa8cc5604a71c9c32eae51acd /jetty-security/src/main | |
parent | 69bf5ab46c87d7b40c12020cef03bf99e536d4cd (diff) | |
download | org.eclipse.jetty.project-7c375c2bced2bb850ec37ce0694a2fe22f50fcbd.tar.gz org.eclipse.jetty.project-7c375c2bced2bb850ec37ce0694a2fe22f50fcbd.tar.xz org.eclipse.jetty.project-7c375c2bced2bb850ec37ce0694a2fe22f50fcbd.zip |
469241 Support more of existing Scanner behaviour for PathWatcher
Diffstat (limited to 'jetty-security/src/main')
-rw-r--r-- | jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java b/jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java index 055bff09b6..b0aff8b2bd 100644 --- a/jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java +++ b/jetty-security/src/main/java/org/eclipse/jetty/security/PropertyUserStore.java @@ -329,17 +329,16 @@ public class PropertyUserStore extends AbstractLifeCycle implements PathWatcher. { super.doStart(); + loadUsers(); if ( isHotReload() && (_configPath != null) ) { this.pathWatcher = new PathWatcher(); this.pathWatcher.addFileWatch(_configPath); this.pathWatcher.addListener(this); + this.pathWatcher.setNotifyExistingOnStart(false); this.pathWatcher.start(); } - else - { - loadUsers(); - } + } @Override |