Package org.infoglue.cms.util

Examples of org.infoglue.cms.util.DesEncryptionHelper


    {
      if(path != null && !path.equals(""))
      {
        if(logger.isDebugEnabled())
          logger.debug("path:" + path);
        DesEncryptionHelper desEncryptionHelper = new DesEncryptionHelper();
        String decryptedPath = desEncryptionHelper.decrypt(path);
        if(logger.isDebugEnabled())
          logger.debug("decryptedPath:" + decryptedPath);
       
        File file = new File(decryptedPath);
        if(file.exists() && file.isFile())
View Full Code Here


   * This method gets the DesEncryptionHelper.
   */
 
  public DesEncryptionHelper getDesEncryptionHelper()
  {
    return new DesEncryptionHelper();
  }
View Full Code Here

    this.referer = referer;
  }
 
  private void handleCookies() throws Exception
  {
      DesEncryptionHelper encHelper = new DesEncryptionHelper();
    String userName = this.getRequest().getParameter("j_username");
      String encryptedName = encHelper.encrypt(userName);
    String password = this.getRequest().getParameter("j_password");
      String encryptedPassword = encHelper.encrypt(password);
     
      String encryptedNameAsBase64 = Base64.encodeBase64URLSafeString(encryptedName.getBytes("utf-8"));
      String encryptedPasswordAsBase64 = Base64.encodeBase64URLSafeString(encryptedPassword.getBytes("utf-8"));
     
      //logger.info("encryptedName:" + encryptedName);
View Full Code Here

          }
        }
       
        if(userName != null && password != null)
        {
          DesEncryptionHelper encHelper = new DesEncryptionHelper();
            userName = encHelper.decrypt(userName);
            password = encHelper.decrypt(password);

            Map arguments = new HashMap();
          arguments.put("j_username", userName);
          arguments.put("j_password", password);
         
View Full Code Here

        //TEST - transferring auth to deliverworking
          try
          {
            if(userName != null && password != null)
            {
              DesEncryptionHelper encHelper = new DesEncryptionHelper();
            String encryptedName = encHelper.encrypt(userName);
            String encryptedPassword = encHelper.encrypt(password);
 
              String encryptedNameAsBase64 = Base64.encodeBase64URLSafeString(encryptedName.getBytes("utf-8"));
              String encryptedPasswordAsBase64 = Base64.encodeBase64URLSafeString(encryptedPassword.getBytes("utf-8"));

            String deliverBaseUrl = CmsPropertyHandler.getComponentRendererUrl();
View Full Code Here

TOP

Related Classes of org.infoglue.cms.util.DesEncryptionHelper

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.