#19213 clarify clientAuth=None
This commit is contained in:
parent
d4b1f07ec0
commit
1ef35d907f
3 changed files with 17 additions and 1 deletions
|
|
@ -15,6 +15,12 @@ import java.util.Optional;
|
|||
|
||||
import scala.compat.java8.OptionConverters;
|
||||
|
||||
/**
|
||||
* TLS configuration for an HTTPS server binding or client connection.
|
||||
* For the sslContext please refer to the com.typeasfe.ssl-config library.
|
||||
* The remaining four parameters configure the initial session that will
|
||||
* be negotiated, see {@link akka.stream.io.NegotiateNewSession} for details.
|
||||
*/
|
||||
public abstract class HttpsContext {
|
||||
|
||||
public abstract SSLContext getSslContext();
|
||||
|
|
|
|||
|
|
@ -712,6 +712,12 @@ object Http extends ExtensionId[HttpExt] with ExtensionIdProvider {
|
|||
import scala.collection.JavaConverters._
|
||||
|
||||
//# https-context-impl
|
||||
/**
|
||||
* TLS configuration for an HTTPS server binding or client connection.
|
||||
* For the sslContext please refer to the com.typeasfe.ssl-config library.
|
||||
* The remaining four parameters configure the initial session that will
|
||||
* be negotiated, see [[akka.stream.io.NegotiateNewSession]] for details.
|
||||
*/
|
||||
final case class HttpsContext(sslContext: SSLContext,
|
||||
enabledCipherSuites: Option[immutable.Seq[String]] = None,
|
||||
enabledProtocols: Option[immutable.Seq[String]] = None,
|
||||
|
|
@ -777,4 +783,4 @@ trait DefaultSSLContextCreation {
|
|||
HttpsContext(sslContext, sslParameters = Some(defaultParams))
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue