Project

General

Profile

Actions

Feature #91

closed

Replace custom HTTP server implementation with apache httpcore

Added by Tobias Wich over 12 years ago. Updated over 11 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 1 (0 open1 closed)

Feature #115: Produce HTTP & HTML error message on authentication failureClosedMoritz Horsch07/17/2012

Actions

Related issues

Blocks Feature #92: Use complete ConnectionHandle in activation interfaceRejected06/09/2012

Actions
Actions #1

Updated by Moritz Horsch over 12 years ago

  • Status changed from In Progress to Solved
Actions #2

Updated by Moritz Horsch over 12 years ago

  • Status changed from Solved to Closed
Actions #3

Updated by Tobias Wich over 11 years ago

  • Target version deleted (5)
Actions

Also available in: Atom PDF