Configure HTTP endpoint with HTTP authentication

The Crypto-Module supports basic and digest authentication for outgoing connections. The use of HTTP basic authentication makes sense only in connection with a TLS encryption, as the password is transmitted unencrypted. The authentication data is part of the endpoint configuration.

Example:

<HttpEndpoints>
    <HttpEndpoint HttpEndpointId="httpWithAuth">
       <HttpAuthUsername>myProxyUser</HttpAuthUsername>
       <HttpAuthPasswordAlias>ima.http.password</HttpAuthPasswordAlias>
    </HttpEndpoint>
 </HttpEndpoints>
 
 <Proxies>
   <HttpProxy ProxyId="httpWithAuth">
     <Url>http://www-le.dienste.t-systems.com:80/</Url>
     <HttpEndpointConfig>httpWithAuth</HttpEndpointConfig>
   </HttpProxy>
 </Proxies>
 

In this example, the connection to the proxy server is secured via HTTP authentication and, depending on the capabilities of the server, Basic or Digest authentication is used.