Package unibg.overencrypt.client.view

Examples of unibg.overencrypt.client.view.IndefiniteProgressDialog.dispose()


        inpd.setMessage("Encryption SEL started...");
        ResponseManager.retrieveCommunication(filePath, ServerPrimitives.OE_SUCCESSFUL);
      }
    }
    OverEncryptRequest.generateRequest(ClientPrimitives.OE_ENCRYPT_SEL, OverEncryptRequestType.UNLOCK, userId, filePath);
    inpd.dispose();
   
    //TODO
    //Aggiornare i riferimenti alle risorse condivise e i permessi agli utenti relative
    //TODO
    if(ClientConfiguration.debug)
View Full Code Here


    } catch (Exception e) {
      LOGGER.error("Error while retrieving user id from local private file - " + e.getMessage());
    }

    Finder.showFinder(folderPath, owner, null, OperationType.UPLOAD);
    inpd.dispose();
  }


  /**
   * Main uploading folder process method.
View Full Code Here

      LOGGER.debug("path: " + path);
      if (requestDone) {
        String[] returnedValues = ResponseManager.retrieveCommunication(path, ServerPrimitives.OE_LOCK, "value");       
        LOGGER.debug("returned values [0]: " + returnedValues[0]);
        if (!Boolean.parseBoolean(returnedValues[0])) {
          inst.dispose();
          JOptionPane.showMessageDialog(null, "The folder is locked. Please, retry later", "Locked", JOptionPane.INFORMATION_MESSAGE);
          System.exit(0);
        }
      }
View Full Code Here

      if(OverEncryptRequest.generateRequest(ClientPrimitives.OE_LOGOUT, OverEncryptRequestType.CONTINUE, userId, path, userId)) {
        ResponseManager.retrieveCommunication(path, ServerPrimitives.OE_SUCCESSFUL);
      }
      OverEncryptRequest.generateRequest(ClientPrimitives.OE_LOGOUT, OverEncryptRequestType.UNLOCK, userId, path);

      inst.dispose();
      JOptionPane.showMessageDialog(null, "Please unmount WebDAV volume", "Logout", JOptionPane.INFORMATION_MESSAGE);

    } catch (Exception e) {
      LOGGER.error("Error while retrieving user id from local private file - ",e);
    }
View Full Code Here

    try {
      Thread.currentThread().sleep(1000);
    } catch (InterruptedException e) {
      LOGGER.error("Error while sleeping OE client",e);
    }
    inst.dispose();
  }

  /**
   * Update permissions request only for user owned resources send to WebDAV Over Encrypted server after correct login and passphrase check.
   *
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.