Capital Markets Adapters 10.7 | Apama Capital Markets Adapters Documentation 10.7 | Apama Base FIX Adapter | IAF FIX adapter | FIX MDA Transport | Client authentication
 
Client authentication
When the FIX adapter configured as an order server or market data server, it allows the Apama application to authenticate client sessions. To enable client authentication, set the ValidateLogonRequests property in <transport> section of the adapter’s configuration file to true and create an application to validate client sessions by listening for com.apama.fix.Logon request(s) and replying with com.apama.fix.LogonAuthenticationStatus events.
When the ValidateLogonRequests property is enabled for a server transport, for each logon request from a client it will wait for up to the number of milliseconds specified by the LogonValidationTimeout property to receive a LogonAuthenticationStatus event from the Apama application. On timeout it rejects logon requests with reason “Logon validation timeout”.
For example, to enable client authentication, the relevant section of the configuration file might look like this:
<transport name="ABC_MARKET_DATA" library="FIXTransport">
  <!-- Validate Logon requests, defaults to false -->
  <property name="ValidateLogonRequests" value="true" />
  <!-- Logon validation timeout in milliseconds, defaults to 2000 -->
  <property name="LogonValidationTimeout" value="4000" />
  ...
</transport>