Package org.platformlayer.rest

Examples of org.platformlayer.rest.JreRestfulClient


      X509Certificate[] chain = certificateAndKey.getCertificateChain();
      log.debug("Using client cert for PL auth: " + Joiner.on(",").join(chain));
    }

    SslConfiguration sslConfiguration = new SslConfiguration(keyManager, trustManager, hostnameVerifier);
    RestfulClient restfulClient = new JreRestfulClient(httpStrategy, keystoneServiceUrl, sslConfiguration);

    AuthenticationTokenValidator tokenValidator = new PlatformLayerAuthAdminClient(restfulClient);
    tokenValidator = new CachingAuthenticationTokenValidator(tokenValidator);
    return tokenValidator;
  }
View Full Code Here


      hostnameVerifier = new AcceptAllHostnameVerifier();
    }

    SslConfiguration sslConfiguration = new SslConfiguration(keyManager, trustManager, hostnameVerifier);
    RestfulClient restfulClient = new JreRestfulClient(httpStrategy, keystoneUserUrl, sslConfiguration);
    PlatformLayerAuthenticationClient authClient = new PlatformLayerAuthenticationClient(restfulClient);

    return authClient;
  }
View Full Code Here

      hostnameVerifier = new AcceptAllHostnameVerifier();
    }

    SslConfiguration sslConfiguration = new SslConfiguration(keyManager, trustManager, hostnameVerifier);
    RestfulClient restfulClient = new JreRestfulClient(httpStrategy, baseUrl, sslConfiguration);
    this.client = new PlatformLayerAuthenticationClient(restfulClient);
  }
View Full Code Here

TOP

Related Classes of org.platformlayer.rest.JreRestfulClient

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.