@Deprecated
  public void ensureAuthenticator() {
    if (CommonProxyCompatibility.mainAuthenticator != null) {
      Authenticator.setDefault(CommonProxyCompatibility.mainAuthenticator);
    }
    else {
      LOG.warn("main authenticator is not yet registered");
    }
  }
@Deprecated
  public void ensureAuthenticator()