protected void verifyClientStatus() throws Exception {
    ClientId client = requestSoap.getClient();

    String status = ServerConf.getMemberStatus(client);
    if (!ClientType.STATUS_REGISTERED.equals(status)) {
      throw new CodedException(X_UNKNOWN_MEMBER, "Client '%s' not found", client);
    }
  }
Пример #2
0
  @Override
  protected void startUp() throws Exception {
    super.startUp();

    ServerConf.reload(
        new TestServerConf() {
          @Override
          public boolean isSslAuthentication(ServiceId service) {
            return false;
          }
        });
  }