Package org.openqreg.util

Examples of org.openqreg.util.HtpasswdHandler.executeQuery()


      HtpasswdHandler hq = new HtpasswdHandler();
      hq.setPath("C:\\server\\Apache\\bin\\htpasswd.exe");
      hq.setOutputFormat(HtpasswdHandler.TRIM);
      hq.setEncryption(HtpasswdHandler.ENCRYPT_SHA);
      hq.setCheckExistence(HtpasswdHandler.CHECK);
      System.out.println(hq.executeQuery(args[0], args[1]));
      //System.out.println("ReturnCode is: "+hq.getReturnCode());
           // System.out.println("Match is: "+hq.comparePasswords(args[0],args[1],args[2]));
    }
  }
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.