Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2015-06-03 08:59:43 +0000
committerJan Bartel2015-06-03 09:00:24 +0000
commit7c375c2bced2bb850ec37ce0694a2fe22f50fcbd (patch)
tree7ada0a46c91f7c8aa8cc5604a71c9c32eae51acd /jetty-security/src/main
parent69bf5ab46c87d7b40c12020cef03bf99e536d4cd (diff)
downloadorg.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.java7
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

Back to the top