@Alias(value="ActiveDirectoryAuthentication") public class ActiveDirectoryConnectionProvider extends AbstractAzureConnectionProvider<AzureEventHubsConnection>
| Modifier and Type | Field and Description |
|---|---|
protected String |
authorityHost |
protected String |
azureEndpoint |
protected String |
namespace |
protected TokenCredentialProperties |
tokenCredentialProperties |
protected boolean |
useAzureDefaultCredential |
eventHubName, shareConnection, WARNING_USER_SHOULD_CONFIGURE_BLOB_STORAGE_ACCOUNT| Constructor and Description |
|---|
ActiveDirectoryConnectionProvider() |
| Modifier and Type | Method and Description |
|---|---|
AzureEventHubsConnection |
connect() |
void |
disconnect(AzureEventHubsConnection connection) |
String |
getAuthorityHost() |
CheckpointStoreType |
getCheckpointStoreType() |
String |
getNamespace() |
TokenCredentialProperties |
getTokenCredentialProperties() |
boolean |
isUseAzureDefaultCredential() |
void |
setAuthorityHost(String authorityHost) |
void |
setCheckpointStoreType(CheckpointStoreType adCheckpointStoreType) |
void |
setNamespace(String namespace) |
void |
setTokenCredentialProperties(TokenCredentialProperties tokenCredentialProperties) |
void |
setUseAzureDefaultCredential(boolean useAzureDefaultCredential) |
org.mule.runtime.api.connection.ConnectionValidationResult |
validate(AzureEventHubsConnection connection) |
getEventHubName, isShareConnection, setEventHubName, setShareConnection@Parameter @Optional @ParameterDsl(allowReferences=false) @Expression(value=NOT_SUPPORTED) @Summary(value="To acquires a token via service principal authentication") protected TokenCredentialProperties tokenCredentialProperties
@Parameter @Optional(defaultValue="false") @ParameterDsl(allowReferences=false) @Expression(value=NOT_SUPPORTED) @Summary(value="Use DefaultAzureCredentials Mechanism") protected boolean useAzureDefaultCredential
@Parameter @Summary(value="The Event Hubs namespace name.") protected String namespace
@Parameter @Summary(value="Fully qualified domain name of the Event Hubs namespace") @Optional(defaultValue="servicebus.windows.net") protected String azureEndpoint
@Parameter @Optional @Summary(value="Specifies the Azure Active Directory host. If not valued it default to: https://login.microsoftonline.com/") protected String authorityHost
public TokenCredentialProperties getTokenCredentialProperties()
public void setTokenCredentialProperties(TokenCredentialProperties tokenCredentialProperties)
public boolean isUseAzureDefaultCredential()
public void setUseAzureDefaultCredential(boolean useAzureDefaultCredential)
public String getNamespace()
public void setNamespace(String namespace)
public String getAuthorityHost()
public void setAuthorityHost(String authorityHost)
public CheckpointStoreType getCheckpointStoreType()
public void setCheckpointStoreType(CheckpointStoreType adCheckpointStoreType)
public AzureEventHubsConnection connect()
public org.mule.runtime.api.connection.ConnectionValidationResult validate(AzureEventHubsConnection connection)
public void disconnect(AzureEventHubsConnection connection)
Copyright © 2025 MuleSoft, Inc.. All rights reserved.