Project

General

Profile

Feature #91

Replace custom HTTP server implementation with apache httpcore

Added by Tobias Wich about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
-
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]]


Subtasks

Feature #115: Produce HTTP & HTML error message on authentication failureClosedMoritz Horsch


Related issues

Blocks Feature #92: Use complete ConnectionHandle in activation interface Rejected 06/09/2012

History

#1 Updated by Moritz Horsch almost 7 years ago

  • Status changed from In Progress to Solved

#2 Updated by Moritz Horsch almost 7 years ago

  • Status changed from Solved to Closed

#3 Updated by Tobias Wich over 6 years ago

  • Target version deleted (5)

Also available in: Atom PDF