Package com.puppetlabs.puppetdb.javaclient.ssl

Examples of com.puppetlabs.puppetdb.javaclient.ssl.AbstractSSLSocketFactoryProvider


      client = PuppetDBClientFactory.newClient(prefs, getCommonModule());
    else {
      client = PuppetDBClientFactory.newClient(prefs, getCommonModule(), new AbstractModule() {
        @Override
        protected void configure() {
          bind(SSLSocketFactory.class).toProvider(new AbstractSSLSocketFactoryProvider() {
            @Override
            protected Certificate getCACertificate(CertificateFactory factory) throws IOException, GeneralSecurityException {
              return generateCaCertificate(factory);
            }
View Full Code Here

TOP

Related Classes of com.puppetlabs.puppetdb.javaclient.ssl.AbstractSSLSocketFactoryProvider

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.