Package com.trendrr.oss

Examples of com.trendrr.oss.SSLContextBuilder


    }
   
    DynMap ssl = config.get(DynMap.class, "ssl");
   
    if (ssl != null) {
      SSLContextBuilder builder = new SSLContextBuilder(false);
      builder.keystoreFilename(ssl.get(String.class, "keystore"));
      builder.keystorePassword(ssl.get(String.class, "keystore_password"));
      builder.certificatePassword(ssl.get(String.class, "certificate_password"));
      server.setSSLContext(builder.toSSLContext());
      server.setSslPort(ssl.get(Integer.class, "port", server.getSslPort()));
    }
    server.config = config;
    server.getRouter().setServer(server);
  }
View Full Code Here

TOP

Related Classes of com.trendrr.oss.SSLContextBuilder

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.