public static ServerX509TrustManager create(ServiceHost host) { if (INSTANCE != null) { return INSTANCE; } synchronized (ServerX509TrustManager.class) { if (INSTANCE == null) { ServerX509TrustManager tm = new ServerX509TrustManager(host); tm.start(); INSTANCE = tm; } } return INSTANCE; }
trustManager.start(); setAuthorizationContext(null); return this;