Examples of LicenseRestriction


Examples of org.openbravo.erpCommon.obps.ActivationKey.LicenseRestriction

    // Role
    OBContext.enableAsAdminContext();
    RoleComboData[] datarole = null;
    try {
      ActivationKey ak = new ActivationKey();
      LicenseRestriction limitation = ak.checkOPSLimitations(vars.getDBSession());
      if (limitation == LicenseRestriction.OPS_INSTANCE_NOT_ACTIVE
          || limitation == LicenseRestriction.NUMBER_OF_CONCURRENT_USERS_REACHED
          || limitation == LicenseRestriction.MODULE_EXPIRED) {
        // allow only system login
        datarole = RoleComboData.selectSystem(this, vars.getUser());
View Full Code Here

Examples of org.openbravo.erpCommon.obps.ActivationKey.LicenseRestriction

          String strClient = "";
          String strOrg = "";
          String strWarehouse = "";

          ActivationKey ak = new ActivationKey();
          LicenseRestriction limitation = ak.checkOPSLimitations(variables.getDBSession());
          if (limitation == LicenseRestriction.OPS_INSTANCE_NOT_ACTIVE
              || limitation == LicenseRestriction.NUMBER_OF_CONCURRENT_USERS_REACHED
              || limitation == LicenseRestriction.MODULE_EXPIRED) {
            // it is only allowed to log as system administrator
            strRole = DefaultOptionsData.getDefaultSystemRole(this, strUserAuth);
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.