FHIR Security

FHIR basic authentication options

Client-side FHIR endpoints (i.e. producers) can be configured with Basic Authentication credentials

Parameter name Type Default value Short description
username String n/a username for basic authentication
password String n/a password for basic authentication

FHIR transport-level encryption


SSL support for IPF IHE consumers side must be configured in their deployment container. See e.g. SSL How-To for Tomcat 8.


TLS-related aspects for client-side FHIR endpoints (i.e. producers) are controlled by the following URI parameters:

Parameter name Type Default value Short description
secure boolean false enables transport-level encryption for the given endpoint
sslContextParameters SSLContextParameters n/a enables transport-level encryption and determines the SSL parameters that shall be applied to the endpoint
hostnameVerifier HostnameVerifier n/a strategy for host name verification

If secure is set to true but no sslContextParameters are provided, the Camel registry is looked up for a unique sslContextParameters bean instance to be used. If none is found, a default SSL Context (optionally controlled by the system environment) is instantiated. If more than one sslContextParameters bean instance is found, an exception is thrown.

SSLContextParameters can be configured as shown in the example below. In this case, the FHIR producer URI requires the parameter sslContextParameters=#myContext.

     <beans xmlns="http://www.springframework.org/schema/beans"
    <camel:sslContextParameters id="myContext">
        <camel:keyManagers keyPassword="changeit">
            <camel:keyStore type="JKS" password="changeit" resource="client.jks"/>
            <camel:keyStore type="JKS" password="changeit" resource="client.jks"/>