Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The following Camel components directly support the use of this configuration utility:

The following Camel components indirectly support the use of this configuration utility:

Configuration

The key component in configuring TLS through the JSSE API is the SSLContext.  The SSLContext provides socket factories for both client-side and server-side sockets as well as another component called an SSLEngine that is used by non-blocking IO to support TLS.  The JSSE configuration utility provides an easy to use builder for configuring these JSSE components, among others, in a manner that allows you to provide all configuration options up front during the initialization of your application such that you don't have to customize library code or dig though the inner workings of a third-party library in order to inject hooks for the configuration of each component in the JSSE API.  The central builder in the JSSE configuration utility is the SSLContextParameters.  This class serves as the entry point for most configuration in the JSSE utility.

...

Java Field Name and Class

XML Attribute/Element and Type

Description

resource- java.lang.String

keyStore/@resource - xsd:string

This optional property represents the location of the key store resource to load the key store from.  In some cases, the resource is omitted as the key store content is provided by other means.  The loading of the resource, if provided, is attempted by treating the resource as a file path, a class path resource, and a URL in that order. An exception is thrown if the resource cannot be resolved to readable input stream using any of the above methods.

Note
titleOSGi Usage

For programmatic and Spring based XML configuration in OSGi, a resource specified as a classpath resource path may be accessible in the bundle containing the XML configuration file or in a package that is imported by that bundle.  As Blueprint does not define the thread context classloader behavior, only classpath resources in the bundle containing the XML configuration file may be resolved from a Blueprint based XML configuration.

password - java.lang.String

keyStore/@password - xsd:string

The optional password for reading/opening/verifying the key store.

type - java.lang.String

keyStore/@type - xsd:string

The optional type of the key store.  See Appendix A in the Java Cryptography Architecture Standard Algorithm Name Documentation for more information on standard names.  If omitted, defaults to the default lookup mechanism as defined by KeyStore.getDefaultType().

provider - java.lang.String

keyStore/@provider - xsd:string

The optional provider identifier for the provider used to create the KeyStores represented by this object's configuration.  If omitted, the default look-up behavior is used.

...