Class OracleCloudSSLContextBuilder
java.lang.Object
io.micronaut.oraclecloud.certificates.ssl.OracleCloudSSLContextBuilder
- All Implemented Interfaces:
io.micronaut.http.server.netty.ssl.ServerSslBuilder
@Singleton
@Replaces(io.micronaut.http.server.netty.ssl.CertificateProvidedSslBuilder.class)
public final class OracleCloudSSLContextBuilder
extends Object
implements io.micronaut.http.server.netty.ssl.ServerSslBuilder
The Netty implementation of
ServerSslBuilder that generates an SslContext to create a server handler
with to SSL support via a temporary self signed certificate that will be replaced by an Oracle Cloud certificate once acquired.-
Constructor Summary
ConstructorsConstructorDescriptionOracleCloudSSLContextBuilder(io.micronaut.http.ssl.ServerSslConfiguration ssl) -
Method Summary
Modifier and TypeMethodDescriptionOptional<io.netty.handler.ssl.SslContext>build()Generates an SslContext that has an already expired self signed cert that should be replaced almost immediately by the Oracle Cloud Certificate server once it is downloaded.io.micronaut.http.ssl.ServerSslConfigurationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.http.server.netty.ssl.ServerSslBuilder
buildQuic
-
Constructor Details
-
OracleCloudSSLContextBuilder
public OracleCloudSSLContextBuilder(io.micronaut.http.ssl.ServerSslConfiguration ssl) - Parameters:
ssl- The SSL configuration
-
-
Method Details
-
getSslConfiguration
public io.micronaut.http.ssl.ServerSslConfiguration getSslConfiguration()- Specified by:
getSslConfigurationin interfaceio.micronaut.http.server.netty.ssl.ServerSslBuilder
-
build
Generates an SslContext that has an already expired self signed cert that should be replaced almost immediately by the Oracle Cloud Certificate server once it is downloaded.- Specified by:
buildin interfaceio.micronaut.http.server.netty.ssl.ServerSslBuilder- Returns:
- Optional SslContext
-