Package de.sub.goobi.persistence

Examples of de.sub.goobi.persistence.BenutzerDAO.save()


      BenutzerDAO dao = new BenutzerDAO();
      List<Benutzer> myBenutzer = dao.search("from Benutzer");
      for (Benutzer ben : myBenutzer) {
        String passencrypted = encrypter.encrypt(ben.getPasswort());
        ben.setPasswort(passencrypted);
        dao.save(ben);
      }
      Helper.setMeldung(null, "", "passwords successful ciphered");
    } catch (Exception e) {
      Helper.setFehlerMeldung("could not cipher passwords: ", e.getMessage());
    }
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.