Package org.apache.nifi.ssl
Class StandardRestrictedSSLContextService
java.lang.Object
org.apache.nifi.components.AbstractConfigurableComponent
org.apache.nifi.controller.AbstractControllerService
org.apache.nifi.ssl.StandardSSLContextService
org.apache.nifi.ssl.StandardRestrictedSSLContextService
- All Implemented Interfaces:
org.apache.nifi.components.ConfigurableComponent
,org.apache.nifi.controller.ControllerService
,RestrictedSSLContextService
,SSLContextProvider
,SSLContextService
@Tags({"tls","ssl","secure","certificate","keystore","truststore","jks","p12","pkcs12","pkcs"})
@CapabilityDescription("Restricted implementation of the SSLContextService. Provides the ability to configure keystore and/or truststore properties once and reuse that configuration throughout the application, but only allows a restricted set of TLS/SSL protocols to be chosen (no SSL protocols are supported). The set of protocols selectable will evolve over time as new protocols emerge and older protocols are deprecated. This service is recommended over StandardSSLContextService if a component doesn\'t expect to communicate with legacy systems since it is unlikely that legacy systems will support these protocols.")
public class StandardRestrictedSSLContextService
extends StandardSSLContextService
implements RestrictedSSLContextService
This class is functionally the same as
StandardSSLContextService
, but it restricts the allowable
values that can be selected for TLS/SSL protocols.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.nifi.ssl.StandardSSLContextService
StandardSSLContextService.KeystoreValidationGroup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final List
<org.apache.nifi.components.PropertyDescriptor> static final org.apache.nifi.components.PropertyDescriptor
Fields inherited from class org.apache.nifi.ssl.StandardSSLContextService
configContext, KEY_PASSWORD, KEYSTORE, KEYSTORE_PASSWORD, KEYSTORE_TYPE, SSL_ALGORITHM, SSL_PROTOCOL, TLS_PROTOCOL, TRUSTSTORE, TRUSTSTORE_PASSWORD, TRUSTSTORE_TYPE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static org.apache.nifi.components.AllowableValue[]
protected List
<org.apache.nifi.components.PropertyDescriptor> Methods inherited from class org.apache.nifi.ssl.StandardSSLContextService
createContext, createKeyManager, createTlsConfiguration, createTrustManager, customValidate, getKeyPassword, getKeyStoreFile, getKeyStorePassword, getKeyStoreType, getTrustStoreFile, getTrustStorePassword, getTrustStoreType, getValidationCacheExpiration, isKeyStoreConfigured, isTrustStoreConfigured, onConfigured, onPropertyModified, toString
Methods inherited from class org.apache.nifi.controller.AbstractControllerService
abstractClearConfigContext, abstractStoreConfigContext, disabled, enabled, getConfigurationContext, getControllerServiceLookup, getIdentifier, getLogger, getNodeTypeProvider, getProperty, getStateManager, init, initialize, isEnabled
Methods inherited from class org.apache.nifi.components.AbstractConfigurableComponent
equals, getPropertyDescriptor, getPropertyDescriptors, getSupportedDynamicPropertyDescriptor, hashCode, validate
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.apache.nifi.components.ConfigurableComponent
getIdentifier, getPropertyDescriptor, getPropertyDescriptors, onPropertyModified, validate
Methods inherited from interface org.apache.nifi.controller.ControllerService
initialize, isStateful, migrateProperties
Methods inherited from interface org.apache.nifi.ssl.SSLContextProvider
createContext, createKeyManager, createTrustManager
Methods inherited from interface org.apache.nifi.ssl.SSLContextService
createTlsConfiguration, getKeyPassword, getKeyStoreFile, getKeyStorePassword, getKeyStoreType, getTrustStoreFile, getTrustStorePassword, getTrustStoreType, isKeyStoreConfigured, isTrustStoreConfigured
-
Field Details
-
RESTRICTED_SSL_ALGORITHM
public static final org.apache.nifi.components.PropertyDescriptor RESTRICTED_SSL_ALGORITHM -
properties
-
-
Constructor Details
-
StandardRestrictedSSLContextService
public StandardRestrictedSSLContextService()
-
-
Method Details
-
getSupportedPropertyDescriptors
- Overrides:
getSupportedPropertyDescriptors
in classStandardSSLContextService
-
getSslAlgorithm
- Specified by:
getSslAlgorithm
in interfaceSSLContextService
- Overrides:
getSslAlgorithm
in classStandardSSLContextService
-
getRestrictedProtocolAllowableValues
private static org.apache.nifi.components.AllowableValue[] getRestrictedProtocolAllowableValues()
-