mirror of
https://github.com/hapifhir/org.hl7.fhir.core.git
synced 2025-02-13 00:04:49 +00:00
Fixes for getting configured servers from fhir-settings
This commit is contained in:
parent
7c796b4ba4
commit
36142f4904
@ -106,6 +106,7 @@ public class PackageServer {
|
||||
private static HTTPAuthenticationMode getModeFromPOJO(ServerDetailsPOJO pojo) {
|
||||
if (pojo.getAuthenticationType().equalsIgnoreCase("basic")) return HTTPAuthenticationMode.BASIC;
|
||||
if (pojo.getAuthenticationType().equalsIgnoreCase("token")) return HTTPAuthenticationMode.TOKEN;
|
||||
if (pojo.getAuthenticationType().equalsIgnoreCase("apikey")) return HTTPAuthenticationMode.APIKEY;
|
||||
return null;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user