Class SSLConfigurationProperties
- All Implemented Interfaces:
Closeable,AutoCloseable,org.apache.camel.spi.BootstrapCloseable
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()end()intbooleanvoidsetCertAlias(String certAlias) An optional certificate alias to use.voidsetCipherSuites(String cipherSuites) List of TLS/SSL cipher suite algorithm names.voidsetCipherSuitesExclude(String cipherSuitesExclude) Filters TLS/SSL cipher suites algorithms names.voidsetCipherSuitesInclude(String cipherSuitesInclude) Filters TLS/SSL cipher suites algorithms names.voidsetClientAuthentication(String clientAuthentication) Sets the configuration for server-side client-authentication requirementsvoidsetEnabled(boolean enabled) Enables SSL in your Camel application.voidsetKeyManagerAlgorithm(String keyManagerAlgorithm) Algorithm name used for creating the KeyManagerFactory.voidsetKeyManagerProvider(String keyManagerProvider) To use a specific provider for creating KeyManagerFactory.voidsetKeyStore(String keyStore) The key store to load.voidsetKeystorePassword(String keystorePassword) Sets the SSL Keystore password.voidsetKeyStoreProvider(String keyStoreProvider) To use a specific provider for creating KeyStore.voidsetKeyStoreType(String keyStoreType) The type of the key store to load.voidsetProvider(String provider) To use a specific provider for creating SSLContext.voidsetSecureRandomAlgorithm(String secureRandomAlgorithm) Algorithm name used for creating the SecureRandom.voidsetSecureRandomProvider(String secureRandomProvider) To use a specific provider for creating SecureRandom.voidsetSecureSocketProtocol(String secureSocketProtocol) The protocol for the secure sockets created by the SSLContext.voidsetSessionTimeout(int sessionTimeout) Timeout in seconds to use for SSLContext.voidsetTrustStore(String trustStore) The trust store to load.voidsetTrustStorePassword(String trustStorePassword) Sets the SSL Truststore password.withCertAlias(String certAlias) An optional certificate alias to use.withCipherSuites(String cipherSuites) List of TLS/SSL cipher suite algorithm names.withCipherSuitesExclude(String cipherSuitesExclude) Filters TLS/SSL cipher suites algorithms names.withCipherSuitesInclude(String cipherSuitesInclude) Filters TLS/SSL cipher suites algorithms names.withClientAuthentication(String clientAuthentication) Sets the configuration for server-side client-authentication requirementswithEnabled(boolean enabled) Enables SSL in your Camel application.withKeyManagerAlgorithm(String keyManagerAlgorithm) Algorithm name used for creating the KeyManagerFactory.withKeyManagerProvider(String keyManagerProvider) To use a specific provider for creating KeyManagerFactory.withKeyStore(String keyStore) The keystore to load.withKeystorePassword(String keystorePassword) Sets the SSL Keystore password.withKeyStoreProvider(String keyStoreProvider) To use a specific provider for creating KeyStore.withKeyStoreType(String keyStoreType) The type of the key store to load.withProvider(String provider) To use a specific provider for creating SSLContext.withSecureRandomAlgorithm(String secureRandomAlgorithm) Algorithm name used for creating the SecureRandom.withSecureRandomProvider(String secureRandomProvider) To use a specific provider for creating SecureRandom.withSecureSocketProtocol(String secureSocketProtocol) The optional protocol for the secure sockets created by the SSLContext.withSessionTimeoutCertAlias(int sessionTimeout) Timeout in seconds to use for SSLContext.withTrustStore(String trustStore) The trust store to load.withTrustStorePassword(String trustStorePassword) Sets the SSL Truststore password.
-
Constructor Details
-
SSLConfigurationProperties
-
-
Method Details
-
end
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) Enables SSL in your Camel application. -
getProvider
-
setProvider
To use a specific provider for creating SSLContext.The list of available providers returned by java.security.Security.getProviders() or null to use the highest priority provider implementing the secure socket protocol.
-
getSecureSocketProtocol
-
setSecureSocketProtocol
The protocol for the secure sockets created by the SSLContext.See https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html
-
getCertAlias
-
setCertAlias
An optional certificate alias to use. This is useful when the keystore has multiple certificates. -
getSessionTimeout
public int getSessionTimeout() -
setSessionTimeout
public void setSessionTimeout(int sessionTimeout) Timeout in seconds to use for SSLContext. The default is 24 hours. -
getCipherSuites
-
setCipherSuites
List of TLS/SSL cipher suite algorithm names. Multiple names can be separated by comma. -
getCipherSuitesInclude
-
setCipherSuitesInclude
Filters TLS/SSL cipher suites algorithms names.This filter is used for including algorithms that matches the naming pattern. Multiple names can be separated by comma.
Notice that if the cipherSuites option has been configured then the include/exclude filters are not in use.
-
getCipherSuitesExclude
-
setCipherSuitesExclude
Filters TLS/SSL cipher suites algorithms names.This filter is used for excluding algorithms that matches the naming pattern. Multiple names can be separated by comma.
Notice that if the cipherSuites option has been configured then the include/exclude filters are not in use.
-
getKeyStore
-
setKeyStore
The key store to load. The key store is by default loaded from classpath. If you must load from file system, then use file: as prefix. file:nameOfFile (to refer to the file system) classpath:nameOfFile (to refer to the classpath; default) http:uri (to load the resource using HTTP) ref:nameOfBean (to lookup an existing KeyStore instance from the registry, for example for testing and development). -
getKeyStoreType
-
setKeyStoreType
The type of the key store to load.See https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html
-
getKeyStoreProvider
-
setKeyStoreProvider
To use a specific provider for creating KeyStore.The list of available providers returned by java.security.Security.getProviders() or null to use the highest priority provider implementing the secure socket protocol.
-
getKeystorePassword
-
setKeystorePassword
Sets the SSL Keystore password. -
getTrustStore
-
setTrustStore
The trust store to load. The trust store is by default loaded from classpath. If you must load from file system, then use file: as prefix. file:nameOfFile (to refer to the file system) classpath:nameOfFile (to refer to the classpath; default) http:uri (to load the resource using HTTP) ref:nameOfBean (to lookup an existing KeyStore instance from the registry, for example for testing and development). -
getTrustStorePassword
-
setTrustStorePassword
Sets the SSL Truststore password. -
getKeyManagerAlgorithm
-
setKeyManagerAlgorithm
Algorithm name used for creating the KeyManagerFactory.See https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html
-
getKeyManagerProvider
-
setKeyManagerProvider
To use a specific provider for creating KeyManagerFactory.The list of available providers returned by java.security.Security.getProviders() or null to use the highest priority provider implementing the secure socket protocol.
-
getSecureRandomAlgorithm
-
setSecureRandomAlgorithm
Algorithm name used for creating the SecureRandom.See https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html
-
getSecureRandomProvider
-
setSecureRandomProvider
To use a specific provider for creating SecureRandom.The list of available providers returned by java.security.Security.getProviders() or null to use the highest priority provider implementing the secure socket protocol.
-
getClientAuthentication
-
setClientAuthentication
Sets the configuration for server-side client-authentication requirements -
withEnabled
Enables SSL in your Camel application. -
withProvider
To use a specific provider for creating SSLContext.The list of available providers returned by java.security.Security.getProviders() or null to use the highest priority provider implementing the secure socket protocol.
-
withSecureSocketProtocol
The optional protocol for the secure sockets created by the SSLContext.See https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html
-
withCertAlias
An optional certificate alias to use. This is useful when the keystore has multiple certificates. -
withSessionTimeoutCertAlias
Timeout in seconds to use for SSLContext. The default is 24 hours. -
withCipherSuites
List of TLS/SSL cipher suite algorithm names. Multiple names can be separated by comma. -
withCipherSuitesInclude
Filters TLS/SSL cipher suites algorithms names.This filter is used for including algorithms that matches the naming pattern. Multiple names can be separated by comma.
Notice that if the cipherSuites option has been configured then the include/exclude filters are not in use.
-
withCipherSuitesExclude
Filters TLS/SSL cipher suites algorithms names.This filter is used for excluding algorithms that matches the naming pattern. Multiple names can be separated by comma.
Notice that if the cipherSuites option has been configured then the include/exclude filters are not in use.
-
withKeyStore
The keystore to load. The keystore is by default loaded from classpath. If you must load from file system, then use file: as prefix. file:nameOfFile (to refer to the file system) classpath:nameOfFile (to refer to the classpath; default) http:uri (to load the resource using HTTP) ref:nameOfBean (to lookup an existing KeyStore instance from the registry, for example for testing and development). -
withKeyStoreType
The type of the key store to load.See https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html
-
withKeyStoreProvider
To use a specific provider for creating KeyStore.The list of available providers returned by java.security.Security.getProviders() or null to use the highest priority provider implementing the secure socket protocol.
-
withKeystorePassword
Sets the SSL Keystore password. -
withTrustStore
The trust store to load. The trust store is by default loaded from classpath. If you must load from file system, then use file: as prefix. file:nameOfFile (to refer to the file system) classpath:nameOfFile (to refer to the classpath; default) http:uri (to load the resource using HTTP) ref:nameOfBean (to lookup an existing KeyStore instance from the registry, for example for testing and development). -
withTrustStorePassword
Sets the SSL Truststore password. -
withKeyManagerAlgorithm
Algorithm name used for creating the KeyManagerFactory.See https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html
-
withKeyManagerProvider
To use a specific provider for creating KeyManagerFactory.The list of available providers returned by java.security.Security.getProviders() or null to use the highest priority provider implementing the secure socket protocol.
-
withSecureRandomAlgorithm
Algorithm name used for creating the SecureRandom.See https://docs.oracle.com/en/java/javase/17/docs/specs/security/standard-names.html
-
withSecureRandomProvider
To use a specific provider for creating SecureRandom.The list of available providers returned by java.security.Security.getProviders() or null to use the highest priority provider implementing the secure socket protocol.
-
withClientAuthentication
Sets the configuration for server-side client-authentication requirements
-