Fixes for getting configured servers from fhir-settings

This commit is contained in:
dotasek 2024-11-11 16:50:39 -05:00
parent 7c796b4ba4
commit 36142f4904

View File

@ -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;
}