public BaseRunManagerServiceAccessorMethod(
      String username, String password, SerializationFormat serializationFormat)
      throws UnsupportedSerializationFormatException {

    authentication = new Authentication();
    authentication.setRequesterId(username);
    authentication.setRequesterPassword(password);

    responseBuilder = new ResponseMessageBuilder();

    serializer = SerializerFactory.getSerializer(serializationFormat);

    impl = new RunManagerServiceImpl();
  }
Exemplo n.º 2
0
 private static Authentication getAuthentication() {
   Authentication auth = new Authentication();
   auth.setRequesterId(REQUESTER_ID);
   auth.setRequesterPassword(REQUESTER_PASSWORD);
   return auth;
 }