Skip to content

Commit 909cc11

Browse files
author
Yaguang Wang
committed
Merge pull request #150 from cvedel/httpauth-fixes
small fixes to httpauth
2 parents e434a9a + 3f28da0 commit 909cc11

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

dev/cosbench-httpauth/META-INF/spring/plugin-context.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
http://www.springframework.org/schema/osgi
99
http://www.springframework.org/schema/osgi/spring-osgi.xsd">
1010

11-
<bean name="storageFactory" class="com.intel.cosbench.api.httpauth.HttpAuthFactory" />
11+
<bean name="authFactory" class="com.intel.cosbench.api.httpauth.HttpAuthFactory" />
1212

1313
<osgi:service ref="authFactory" context-class-loader="service-provider"
1414
interface="com.intel.cosbench.api.auth.AuthAPIFactory">

dev/cosbench-httpauth/src/com/intel/cosbench/api/httpauth/HttpAuth.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,6 @@ public void init(Config config, Logger logger) {
103103
logger.debug("httpauth client has been initialized");
104104
}
105105

106-
@Override
107-
public void dispose() {
108-
super.dispose();
109-
HttpClientUtil.disposeHttpClient(client);
110-
}
111-
112106
@Override
113107
public AuthContext login() {
114108
super.login();

0 commit comments

Comments
 (0)