code: public static String getRandomPassword() {
  
          if (OpenCms.getPasswordHandler() instanceof I_CmsPasswordGenerator) {
              return ((I_CmsPasswordGenerator)OpenCms.getPasswordHandler()).getRandomPassword();
          }
          return CmsDefaultPasswordGenerator.getRandomPWD();
      }
docs: Gets random password from password handler.<p>
  
  @return String