mirror of
https://gitlab.com/oeffi/public-transport-enabler.git
synced 2025-07-13 16:20:34 +00:00
VGS: Use message integrity code and message authentication code.
This commit is contained in:
parent
8f13a95bb5
commit
43647e7c77
1 changed files with 3 additions and 0 deletions
|
@ -19,6 +19,8 @@ package de.schildbach.pte;
|
||||||
|
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
|
|
||||||
|
import com.google.common.base.Charsets;
|
||||||
|
|
||||||
import de.schildbach.pte.dto.Product;
|
import de.schildbach.pte.dto.Product;
|
||||||
|
|
||||||
import okhttp3.HttpUrl;
|
import okhttp3.HttpUrl;
|
||||||
|
@ -39,6 +41,7 @@ public class VgsProvider extends AbstractHafasClientInterfaceProvider {
|
||||||
setApiVersion("1.21");
|
setApiVersion("1.21");
|
||||||
setApiClient("{\"id\":\"ZPS-SAAR\",\"type\":\"AND\"}");
|
setApiClient("{\"id\":\"ZPS-SAAR\",\"type\":\"AND\"}");
|
||||||
setApiAuthorization(jsonApiAuthorization);
|
setApiAuthorization(jsonApiAuthorization);
|
||||||
|
setRequestMicMacSalt("HJtlubisvxiJxss".getBytes(Charsets.UTF_8));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue