Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Bartel2015-12-18 00:52:56 +0000
committerJan Bartel2015-12-18 00:52:56 +0000
commitecbfe7c1d08936052da021f644d19c4b0db9fe65 (patch)
tree94ca58e442557cecd6655f0c896788afa7dbd31d /jetty-security/src/main/java/org/eclipse/jetty
parent88945478f71ad408e57e179257c2476d6cdb19f8 (diff)
downloadorg.eclipse.jetty.project-ecbfe7c1d08936052da021f644d19c4b0db9fe65.tar.gz
org.eclipse.jetty.project-ecbfe7c1d08936052da021f644d19c4b0db9fe65.tar.xz
org.eclipse.jetty.project-ecbfe7c1d08936052da021f644d19c4b0db9fe65.zip
484603 HashLoginService does not stop its PropertyUserStore
Diffstat (limited to 'jetty-security/src/main/java/org/eclipse/jetty')
-rw-r--r--jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java b/jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java
index e9f18b59c2..a4bf649410 100644
--- a/jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java
+++ b/jetty-security/src/main/java/org/eclipse/jetty/security/HashLoginService.java
@@ -56,7 +56,6 @@ public class HashLoginService extends MappedLoginService implements UserListener
private PropertyUserStore _propertyUserStore;
private String _config;
private Resource _configResource;
- private Scanner _scanner;
private boolean hotReload = false; // default is not to reload
@@ -254,9 +253,9 @@ public class HashLoginService extends MappedLoginService implements UserListener
protected void doStop() throws Exception
{
super.doStop();
- if (_scanner != null)
- _scanner.stop();
- _scanner = null;
+ if (_propertyUserStore != null)
+ _propertyUserStore.stop();
+ _propertyUserStore = null;
}
/* ------------------------------------------------------------ */

Back to the top