Project

General

Profile

Control Interface » History » Revision 4

Revision 3 (Moritz Horsch, 08/06/2012 09:13 AM) → Revision 4/40 (Moritz Horsch, 08/06/2012 12:49 PM)

h1. Client Activation 

 h2. Interface 

 =. | *URL*    |\3. |\2. @http://127.0.0.1:24727/eID-Client@ | 
 | *Method*    |\3. |\2. GET | 
 |/4. *Query*     | tcTokenURL ?tcTokenURL    | The URL determines where the client can retrieve the TC Token. See TR-03112-7, section 3.2 | Mandatory |  
 | ifdName ?ifdName    | The ifdName determines the card terminal.|    Optional; Not specified yet |  
 | contextHandle ?contextHandle    | |    Optional; Not specified yet |  
 | slotHandle ?slotHandle    | The SlotHandle determines a connected eCard. See TR-03112-6, section 3.2.1. | Optional; Not specified yet |  
 |/4. *Returns* | 200 OK | The refresh address is comprised in the Message Body (Hack for Mac MAC OS Safari). | 
 | 303 See Other | The Location field in the response should contain the refresh address. | 
 | 400 Bad Request | Malformed GET request, e.g. parameters are missing. | 
 | 500 Internal Server Error | | 
 |/2. *Content-Types* | text/plain | All content should be encoded in text/plain or text/html. 
 text/html | 
 | *Notes* |    | 

 <pre> 
 TODO 
 * What happens if the Client Activator cannot start an application? 
 * What happens if the Client Activator cannot fetch a TC Token from the given TCTokenURL? Should that result in a 400 or 404? 
 </pre> 

 =. | *URL*    |\2. @http://127.0.0.1:24727/status@ | 
 | *Description* | |  
 | *Method*    |\2. GET | 
 | *Query*     | | |  
 |/4. *Returns* | 200 OK | | 
 | 400 Bad Request | | 
 | 406 Not Acceptable | | 
 | 500 Internal Server Error | | 
 |/3. *Content-Types* | text/html | Should be used for a HTML website with human readable content. | 
 | application/xml | Should be used to represent a ConnectionHandle in a machine readable XML format. | 
 | application/json | Same as XML but the data should encoded in a JSON format.|