@ComponentProfile(summary="Connect to an Azure tenant",
tag="connections,azure")
public abstract class AzureConnection<C>
extends AdaptrisConnectionImp
| Modifier and Type | Field and Description |
|---|---|
protected @NotBlank java.lang.String |
applicationId
The ID of the Azure application.
|
protected @NotBlank java.lang.String |
clientSecret
The application client secret.
|
protected @NotBlank java.lang.String |
tenantId
The tenant ID.
|
log| Constructor and Description |
|---|
AzureConnection() |
| Modifier and Type | Method and Description |
|---|---|
protected java.lang.String |
clientSecret() |
protected void |
closeConnection()
Close the underlying connection.
|
java.lang.String |
getApplicationId()
The ID of the Azure application.
|
abstract C |
getClientConnection() |
java.lang.String |
getClientSecret()
The application client secret.
|
java.lang.String |
getTenantId()
The tenant ID.
|
protected void |
prepareConnection()
.
|
void |
setApplicationId(java.lang.String applicationId)
The ID of the Azure application.
|
void |
setClientSecret(java.lang.String clientSecret)
The application client secret.
|
void |
setTenantId(java.lang.String tenantId)
The tenant ID.
|
protected void |
stopConnection()
.
|
protected java.lang.String |
tenant() |
addExceptionListener, addMessageConsumer, addMessageProducer, changeState, cloneForTesting, close, connectionErrorHandler, getConnectionErrorHandler, getUniqueId, getWorkersFirstOnShutdown, init, initConnection, prepare, requestClose, requestInit, requestStart, requestStop, retrieveComponentState, retrieveConnection, retrieveExceptionListeners, retrieveMessageConsumers, retrieveMessageProducers, setConnectionErrorHandler, setUniqueId, setWorkersFirstOnShutdown, start, startConnection, stop, workersFirstOnShutdown@NotBlank protected @NotBlank java.lang.String applicationId
@NotBlank protected @NotBlank java.lang.String tenantId
@NotBlank protected @NotBlank java.lang.String clientSecret
public abstract C getClientConnection()
protected void prepareConnection()
prepareConnection in class AdaptrisConnectionImpprotected void stopConnection()
stopConnection in class AdaptrisConnectionImpprotected void closeConnection()
closeConnection in class AdaptrisConnectionImpprotected java.lang.String tenant()
protected java.lang.String clientSecret()
public java.lang.String getApplicationId()
public void setApplicationId(java.lang.String applicationId)
public java.lang.String getTenantId()
public void setTenantId(java.lang.String tenantId)
public java.lang.String getClientSecret()
public void setClientSecret(java.lang.String clientSecret)