Пример #1
0
  @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.");
    }
  }
Пример #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.");
   }
 }
Пример #3
0
 @AfterClass
 public static void stopManager() throws ConfigurationException {
   Registry.stop();
 }