예제 #1
0
 private TrustManagerFactory getTrustManagerFactory(JolokiaServerConfig pConfig)
     throws NoSuchAlgorithmException {
   String algo = pConfig.getTrustManagerAlgorithm();
   return TrustManagerFactory.getInstance(
       algo != null ? algo : TrustManagerFactory.getDefaultAlgorithm());
 }