Class AzureConnection<C>

java.lang.Object
com.adaptris.core.AdaptrisConnectionImp
com.adaptris.interlok.azure.AzureConnection<C>
All Implemented Interfaces:
AdaptrisComponent, AdaptrisConnection, ComponentLifecycle, ComponentLifecycleExtension, StateManagedComponent
Direct Known Subclasses:
DataLakeConnection, GraphAPIConnection

@ComponentProfile(summary="Connect to an Azure tenant", tag="connections,azure") public abstract class AzureConnection<C> extends AdaptrisConnectionImp
Base Azure connection.
  • Field Details

    • applicationId

      @NotBlank protected @NotBlank String applicationId
      The ID of the Azure application.
    • tenantId

      @NotBlank protected @NotBlank String tenantId
      The tenant ID.
    • clientSecret

      @NotBlank protected @NotBlank String clientSecret
      The application client secret.
  • Constructor Details

    • AzureConnection

      public AzureConnection()
  • Method Details

    • getClientConnection

      public abstract C getClientConnection()
    • prepareConnection

      protected void prepareConnection()
      .
      Specified by:
      prepareConnection in class AdaptrisConnectionImp
    • stopConnection

      protected void stopConnection()
      .
      Specified by:
      stopConnection in class AdaptrisConnectionImp
    • closeConnection

      protected void closeConnection()
      Close the underlying connection.
      Specified by:
      closeConnection in class AdaptrisConnectionImp
    • clientSecret

      protected String clientSecret()
    • getApplicationId

      public String getApplicationId()
      The ID of the Azure application.
    • setApplicationId

      public void setApplicationId(String applicationId)
      The ID of the Azure application.
    • getTenantId

      public String getTenantId()
      The tenant ID.
    • setTenantId

      public void setTenantId(String tenantId)
      The tenant ID.
    • getClientSecret

      public String getClientSecret()
      The application client secret.
    • setClientSecret

      public void setClientSecret(String clientSecret)
      The application client secret.