- All Superinterfaces:
NamedService
- All Known Subinterfaces:
OciCertificatesTlsManager
- All Known Implementing Classes:
ConfiguredTlsManager
Implementors of this contract are responsible for managing the
SSLContext
instance lifecycle, as well
as the TlsReloadableComponent
instances. When the context changes, it then has the responsible to notify all
registered TlsReloadableComponent
s to accept the new Tls
having the reloaded context.
How context changes are observed is based upon the implementation of the manager.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Always called before any other method on this type.The key manager in use.void
This method will multiplex the call to allTlsReloadableComponent
s that are being managed by this manager.SSL context created by this manager.The trust manager in use.Methods inherited from interface io.helidon.common.config.NamedService
name, type
-
Method Details
-
init
Always called before any other method on this type. This method is only called when TLS is enabled. In case the TLS is disabled, none of the methods on this type can be called.- Parameters:
tls
- TLS configuration
-
reload
This method will multiplex the call to allTlsReloadableComponent
s that are being managed by this manager.- Parameters:
tls
- the new tls instance- See Also:
-
sslContext
SSLContext sslContext()SSL context created by this manager. This method is called only afterinit(TlsConfig)
and only ifTlsConfigBlueprint.enabled()
istrue
.- Returns:
- the SSL context to use
-
keyManager
Optional<X509KeyManager> keyManager()The key manager in use.- Returns:
- key manager
-
trustManager
Optional<X509TrustManager> trustManager()The trust manager in use.- Returns:
- trust manager
-