Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGreg Wilkins2015-01-08 09:03:05 -0500
committerGreg Wilkins2015-01-08 09:03:05 -0500
commitc23f21c761ff56f2ad4841a98083b237494442de (patch)
treeb9bd3735791afe56b760d6dad8f83472bade9d4a /jetty-plus
parent12f84c95920b120a5f96892cdd8f5216c961c49d (diff)
downloadorg.eclipse.jetty.project-c23f21c761ff56f2ad4841a98083b237494442de.tar.gz
org.eclipse.jetty.project-c23f21c761ff56f2ad4841a98083b237494442de.tar.xz
org.eclipse.jetty.project-c23f21c761ff56f2ad4841a98083b237494442de.zip
456956 Reduce ThreadLocal.remove() weak reference garbage
removed getCurrentChannel thread local
Diffstat (limited to 'jetty-plus')
-rw-r--r--jetty-plus/src/main/java/org/eclipse/jetty/plus/security/DataSourceLoginService.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/jetty-plus/src/main/java/org/eclipse/jetty/plus/security/DataSourceLoginService.java b/jetty-plus/src/main/java/org/eclipse/jetty/plus/security/DataSourceLoginService.java
index 5073b52377..43fbe483d4 100644
--- a/jetty-plus/src/main/java/org/eclipse/jetty/plus/security/DataSourceLoginService.java
+++ b/jetty-plus/src/main/java/org/eclipse/jetty/plus/security/DataSourceLoginService.java
@@ -32,6 +32,7 @@ import java.util.Locale;
import javax.naming.InitialContext;
import javax.naming.NameNotFoundException;
import javax.naming.NamingException;
+import javax.servlet.ServletRequest;
import javax.sql.DataSource;
import org.eclipse.jetty.plus.jndi.NamingEntryUtil;
@@ -337,7 +338,7 @@ public class DataSourceLoginService extends MappedLoginService
/* ------------------------------------------------------------ */
@Override
- public UserIdentity login(String username, Object credentials)
+ public UserIdentity login(String username, Object credentials, ServletRequest request)
{
long now = System.currentTimeMillis();
if (now - _lastPurge > _cacheMs || _cacheMs == 0)
@@ -346,7 +347,7 @@ public class DataSourceLoginService extends MappedLoginService
_lastPurge = now;
}
- return super.login(username,credentials);
+ return super.login(username,credentials, request);
}
/* ------------------------------------------------------------ */

Back to the top