summaryrefslogtreecommitdiffstats
path: root/base/server/test
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2015-06-16 14:12:54 -0400
committerEndi S. Dewata <edewata@redhat.com>2015-06-18 20:04:31 -0400
commitb9f51eb366c98647544d1d090cb9dbd0d29c6e09 (patch)
treead4bd3d43dd87e7f24200859199e90ce13f5d3f1 /base/server/test
parent311650625be0c8e5f42c71c7d5020e5a11ecf034 (diff)
downloadpki-b9f51eb366c98647544d1d090cb9dbd0d29c6e09.tar.gz
pki-b9f51eb366c98647544d1d090cb9dbd0d29c6e09.tar.xz
pki-b9f51eb366c98647544d1d090cb9dbd0d29c6e09.zip
Fixed thread leaks during shutdown.
Various codes have been modified to properly stop threads during shutdown. A new ID attribute has been added to the LDAP connection factory classes to help identify leaking threads. https://fedorahosted.org/pki/ticket/1327
Diffstat (limited to 'base/server/test')
-rw-r--r--base/server/test/com/netscape/cmscore/app/CMSEngineDefaultStub.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/server/test/com/netscape/cmscore/app/CMSEngineDefaultStub.java b/base/server/test/com/netscape/cmscore/app/CMSEngineDefaultStub.java
index 0b7518d81..404832c0d 100644
--- a/base/server/test/com/netscape/cmscore/app/CMSEngineDefaultStub.java
+++ b/base/server/test/com/netscape/cmscore/app/CMSEngineDefaultStub.java
@@ -343,16 +343,16 @@ public class CMSEngineDefaultStub implements ICMSEngine {
return null;
}
- public ILdapConnFactory getLdapBoundConnFactory() throws ELdapException {
+ public ILdapConnFactory getLdapBoundConnFactory(String id) throws ELdapException {
return null;
}
- public LDAPConnection getBoundConnection(String host, int port, int version, LDAPSSLSocketFactoryExt fac,
+ public LDAPConnection getBoundConnection(String id, String host, int port, int version, LDAPSSLSocketFactoryExt fac,
String bindDN, String bindPW) throws LDAPException {
return null;
}
- public ILdapConnFactory getLdapAnonConnFactory() throws ELdapException {
+ public ILdapConnFactory getLdapAnonConnFactory(String id) throws ELdapException {
return null;
}