Closed jnehring closed 9 years ago
e-Terminology :
@RequestParam(value = "mode", defaultValue = "full") String mode
@RequestParam(value = "collection", required = false) String collection
authentication – please add static header to let us now that this request is from FREME broker server
.queryString("mode", mode)
.queryString("collection", collection)
.queryString("key", token)
.header("Authentication", "Basic RlJFTUU6dXxGcjNtM19zJGN1ciQ=")
e-Translation:
@RequestParam(value = "system", required = false) String system
authentication – please add static header to let us now that this request is from FREME broker server
.queryString("system", system)
.queryString("domain", domain)
.queryString("key", token)
.header("Authentication", "Basic RlJFTUU6dXxGcjNtM19zJGN1ciQ=")
Implemented. The header "X-Auth-Token" is used as token.
The header "X-Auth-Token" is used as token.
Actually the FREME key submitted via X-Auth-Token and the tilde key submitted via "key" are two different things. One authenticates against FREME and the other authenticates against Tildes API. @ArneBinder do we need to change the implementation?
With token I mean using described keys here: https://github.com/freme-project/technical-discussion/issues/61 @jnehring What is the status of implementation of this?
Ok, I switched to query parameter "key" as token. It should work now. @andish Please close, if it's all right.
As written in the Email