public class SSLContextClientParameters extends BaseSSLContextParameters
BaseSSLContextParameters.SSLContextDecorator, BaseSSLContextParameters.SSLContextSpiDecorator, BaseSSLContextParameters.SSLServerSocketFactoryDecorator, BaseSSLContextParameters.SSLSocketFactoryDecorator
DEFAULT_CIPHER_SUITES_FILTER_EXCLUDE, DEFAULT_CIPHER_SUITES_FILTER_INCLUDE, DEFAULT_SECURE_SOCKET_PROTOCOLS_FILTER_EXCLUDE, DEFAULT_SECURE_SOCKET_PROTOCOLS_FILTER_INCLUDE
Constructor and Description |
---|
SSLContextClientParameters() |
Modifier and Type | Method and Description |
---|---|
protected void |
configureSSLContext(SSLContext context)
Configures the actual
SSLContext itself with direct setter calls. |
protected boolean |
getAllowPassthrough()
Returns a flag indicating if default values should be applied in the event that no other property
of the instance configures a particular aspect of the entity produced by the instance.
|
protected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLEngine>> |
getSSLEngineConfigurers(SSLContext context)
Returns the list of configurers to apply to an
SSLEngine in order
to fully configure it in compliance with the provided configuration options. |
protected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLServerSocketFactory>> |
getSSLServerSocketFactoryConfigurers(SSLContext context)
This class has no bearing on
SSLServerSocketFactory instances and therefore provides no
configurers for that purpose. |
String |
toString() |
configureSessionContext, filter, filter, getCipherSuites, getCipherSuitesFilter, getDefaultCipherSuitesFilter, getDefaultSecureSocketProcotolFilter, getSecureSocketProtocols, getSecureSocketProtocolsFilter, getSessionTimeout, getSSLServerSocketFactorySSLServerSocketConfigurers, getSSLSocketFactoryConfigurers, getSSLSocketFactorySSLSocketConfigurers, matchesOneOf, setCipherSuites, setCipherSuitesFilter, setSecureSocketProtocols, setSecureSocketProtocolsFilter, setSessionTimeout
getCamelContext, parsePropertyValue, parsePropertyValues, resolveResource, setCamelContext
public SSLContextClientParameters()
protected boolean getAllowPassthrough()
BaseSSLContextParameters
getAllowPassthrough
in class BaseSSLContextParameters
SSLContextClientParameters
,
SSLContextServerParameters
protected void configureSSLContext(SSLContext context) throws GeneralSecurityException
BaseSSLContextParameters
SSLContext
itself with direct setter calls. This method differs from
configuration options that are handled by a configurer instance in that the options are part of the
context itself and are not part of some factory or instance object returned by the context.configureSSLContext
in class BaseSSLContextParameters
context
- the context to configureGeneralSecurityException
- if there is an error configuring the contextprotected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLEngine>> getSSLEngineConfigurers(SSLContext context)
SSLEngine
in order
to fully configure it in compliance with the provided configuration options.
The configurers are to be applied in the order in which they appear in the list.
This implementation returns the empty list as the enabled cipher suites
and protocols are not client and server side specific in an
SSLEngine
. Consequently, overriding them here would be a bit odd
as the client side specific configuration shouldn't really override a
shared client/server configuration option.getSSLEngineConfigurers
in class BaseSSLContextParameters
context
- the context that serves as the factory for SSLEngine
instancesprotected List<org.apache.camel.util.jsse.BaseSSLContextParameters.Configurer<SSLServerSocketFactory>> getSSLServerSocketFactoryConfigurers(SSLContext context)
SSLServerSocketFactory
instances and therefore provides no
configurers for that purpose.getSSLServerSocketFactoryConfigurers
in class BaseSSLContextParameters
context
- the context that serves as the factory for SSLServerSocketFactory
instancesBaseSSLContextParameters.getSSLServerSocketFactorySSLServerSocketConfigurers(SSLContext)
Apache Camel