Package org.jresearch.gossip.util

Examples of org.jresearch.gossip.util.DesEncrypter


      throws SystemException {
    ForumDAO dao = ForumDAO.getInstance();
    try {
     
      HashMap map = new HashMap();
      DesEncrypter encrypter = new DesEncrypter(
          IConst.VALUES.ENCRYPTER_KEY);
      map.put(IConst.CONFIG.MAILPASSWORD, encrypter
          .encrypt(((MailPasswordForm) form).getPassword()));
      dao.updateConstants(map);
      Configurator.getInstance().reload(getServlet().getServletContext());
      MailProcessor._mailSession = null;
      log(request, "status.UPDATE_MAILPASSWORD");
View Full Code Here


     */
    public SmtpAuthenticator()
        throws ConfiguratorException, IOException {
        super();

        DesEncrypter encrypter = new DesEncrypter(IConst.VALUES.ENCRYPTER_KEY);
        mailuser = config.get(IConst.CONFIG.MAILUSER);
        mailpassword = encrypter.decrypt(config.get(IConst.CONFIG.MAILPASSWORD));
       
    }
View Full Code Here

    /*
     * @see TestCase#setUp()
     */
    protected void setUp() throws Exception {
        super.setUp();
        des=new DesEncrypter(IConst.VALUES.ENCRYPTER_KEY);
    }
View Full Code Here

TOP

Related Classes of org.jresearch.gossip.util.DesEncrypter

Copyright © 2018 www.massapicom. 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.