List of usage examples for io.vertx.core.http ClientAuth REQUEST
ClientAuth REQUEST
To view the source code for io.vertx.core.http ClientAuth REQUEST.
Click Source Link
From source file:io.servicecomb.foundation.vertx.VertxTLSBuilder.java
License:Apache License
public static NetServerOptions buildNetServerOptions(SSLOption sslOption, SSLCustom sslCustom, NetServerOptions netServerOptions) { buildTCPSSLOptions(sslOption, sslCustom, netServerOptions); if (sslOption.isAuthPeer()) { netServerOptions.setClientAuth(ClientAuth.REQUIRED); } else {// w ww . java2 s. c o m netServerOptions.setClientAuth(ClientAuth.REQUEST); } return netServerOptions; }