Class SempBasicAuthClientExecutor

java.lang.Object
org.apache.beam.sdk.io.solace.broker.SempBasicAuthClientExecutor
All Implemented Interfaces:
Serializable

public class SempBasicAuthClientExecutor extends Object implements Serializable
A class to execute requests to SEMP v2 with Basic Auth authentication.

This approach takes advantage of SEMP Sessions. The session is established when a user authenticates with HTTP Basic authentication. When the response is 401 Unauthorized, the client will execute an additional request with Basic Auth header to refresh the token.

See Also:
  • Constructor Details

    • SempBasicAuthClientExecutor

      public SempBasicAuthClientExecutor(String host, String username, String password, String vpnName, com.google.api.client.http.HttpRequestFactory httpRequestFactory)
  • Method Details