@BeforeClass
  public static void startManager() throws ConfigurationException {
    Registry.start();

    try {

      UDDISecurityPortType security = new UDDISecurityImpl();
      authInfoRoot =
          TckSecurity.getAuthToken(
              security, TckPublisher.getRootPublisherId(), TckPublisher.getRootPassword());

    } catch (RemoteException e) {
      logger.error(e.getMessage(), e);
      Assert.fail("Could not obtain authInfo token.");
    }
  }
Beispiel #2
0
 @BeforeClass
 public static void setup() throws ConfigurationException, RemoteException {
   Registry.start();
   logger.debug("Getting auth tokens..");
   try {
     api010.saveJoePublisher();
     api010.saveSamSyndicator();
     UDDISecurityPortType security = new UDDISecurityImpl();
     authInfoJoe =
         TckSecurity.getAuthToken(
             security, TckPublisher.getJoePublisherId(), TckPublisher.getJoePassword());
     authInfoSam =
         TckSecurity.getAuthToken(
             security, TckPublisher.getSamPublisherId(), TckPublisher.getSamPassword());
   } catch (DispositionReportFaultMessage e) {
     logger.error(e.getMessage(), e);
     Assert.fail("Could not obtain authInfo token.");
   }
 }