Package org.apache.nifi.services.azure
Class StandardAzureCredentialsControllerService
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.services.azure.StandardAzureCredentialsControllerService
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent,org.apache.nifi.controller.ControllerService,AzureCredentialsService
@Tags({"azure","security","credentials","provider","session"})
@CapabilityDescription("Provide credentials to use with an Azure client.")
public class StandardAzureCredentialsControllerService
extends org.apache.nifi.controller.AbstractControllerService
implements AzureCredentialsService
Provides credentials used by Azure clients.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.nifi.components.PropertyDescriptorprivate com.azure.core.credential.TokenCredentialstatic org.apache.nifi.components.AllowableValuestatic org.apache.nifi.components.AllowableValuestatic final org.apache.nifi.components.PropertyDescriptorprivate static final List<org.apache.nifi.components.PropertyDescriptor> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.credential.TokenCredentialprivate com.azure.core.credential.TokenCredentialprivate com.azure.core.credential.TokenCredentialgetManagedIdentityCredential(org.apache.nifi.controller.ConfigurationContext context) protected List<org.apache.nifi.components.PropertyDescriptor> voidonConfigured(org.apache.nifi.controller.ConfigurationContext context) toString()Methods inherited from class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabledMethods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
customValidate, equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, onPropertyModified, validateMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validateMethods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
-
Field Details
-
DEFAULT_CREDENTIAL
public static org.apache.nifi.components.AllowableValue DEFAULT_CREDENTIAL -
MANAGED_IDENTITY
public static org.apache.nifi.components.AllowableValue MANAGED_IDENTITY -
CREDENTIAL_CONFIGURATION_STRATEGY
public static final org.apache.nifi.components.PropertyDescriptor CREDENTIAL_CONFIGURATION_STRATEGY -
MANAGED_IDENTITY_CLIENT_ID
public static final org.apache.nifi.components.PropertyDescriptor MANAGED_IDENTITY_CLIENT_ID -
PROPERTIES
-
credentials
private com.azure.core.credential.TokenCredential credentials
-
-
Constructor Details
-
StandardAzureCredentialsControllerService
public StandardAzureCredentialsControllerService()
-
-
Method Details
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptorsin classorg.apache.nifi.components.AbstractConfigurableComponent
-
getCredentials
public com.azure.core.credential.TokenCredential getCredentials() throws org.apache.nifi.processor.exception.ProcessException- Specified by:
getCredentialsin interfaceAzureCredentialsService- Throws:
org.apache.nifi.processor.exception.ProcessException
-
onConfigured
@OnEnabled public void onConfigured(org.apache.nifi.controller.ConfigurationContext context) -
getDefaultAzureCredential
private com.azure.core.credential.TokenCredential getDefaultAzureCredential() -
getManagedIdentityCredential
private com.azure.core.credential.TokenCredential getManagedIdentityCredential(org.apache.nifi.controller.ConfigurationContext context) -
toString
- Overrides:
toStringin classorg.apache.nifi.components.AbstractConfigurableComponent
-