public interface OutboundAuthentication
Following HttpURLConnection methods which will establish the connection to the target service must not be invoked for the last instance of HttpURLConnection created in the custom authentication code:
|Modifier and Type||Method and Description|
This method will be invoked by OSB for Custom Outbound Authentication.
void doOutboundAuthentication(TransportEndPoint tep, TransportSender sender, Ref serviceAccountRef, HttpUrlConnectionFactory connectionFactory) throws TransportException
tep- TransportEndPoint corresponding to the Business Service
sender- represents the clients making the outbound requests
serviceAccountRef- reference to the Service Account configured for the Custom Authentication on the Business service. Null if there is no service account configured.
connectionFactory- This has methods for retrieving the HttpURLConnection object to the target Business Service. HttpURLConnection will be preconfigured by OSB with the required connection parameters.