Actions
Feature #91
closedReplace custom HTTP server implementation with apache httpcore
Start date:
07/17/2012
Due date:
% Done:
100%
Estimated time:
(Total: 3.00 h)
Reviewer:
Build Version:
Description
The client connector module uses a self writte HTTP server implementation.
Regarding possible security problems, the use of a well tested library is advisable.
apache httpcore contains a very basic HTTP server implementation, which should be enough for the localhost binding use case.
The steps are as follows:
1. add maven artifact to
<groupId>org.openecard.client.clients</groupId> <artifactId>client-connector</artifactId>
<dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpcore</artifactId> <version>4.2</version> </dependency>
2. Remove httpcore artifact from being pulled into android client
3. Rewrite code to use httpcore server facilities.
An example of a server can be found on
[[https://hc.apache.org/httpcomponents-core-ga/httpcore/examples/org/apache/http/examples/ElementalHttpServer.java]]
Related issues
Actions