Package net.naijatek.myalumni.util.utilities

Examples of net.naijatek.myalumni.util.utilities.SystemProp


   * -------------------------------------------------
   */

  protected boolean validatePasswordMinLenght(final String password) {
    boolean status = true;
    SystemProp sysprop = SystemProp.getInstance();

    try {
      int minlength = Integer.parseInt(sysprop
          .getValue("password.minlenght"));

      if (password.length() < minlength) {
        status = false;
      }
View Full Code Here


    return status;
  }

  protected boolean validatePasswordMaxLenght(final String password) {
    boolean status = true;
    SystemProp sysprop = SystemProp.getInstance();

    try {
      int maxlength = Integer.parseInt(sysprop
          .getValue("password.maxlenght"));

      if (password.length() > maxlength) {
        status = false;
      }
View Full Code Here

TOP

Related Classes of net.naijatek.myalumni.util.utilities.SystemProp

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.