docs: @Override
      public boolean checkResourceConstraints(String contextId, Object httpServletRequest, Permission webPerm, Subject subject) {
          HttpServletRequest req = null;
          if (httpServletRequest != null) {
              try {
                  req = (HttpServletRequest) httpServletRequest;
              } catch (ClassCastException cce) {
                  Tr.error(tc, "JACC_WEB_SPI_PARAMETER_ERROR", new Object[] { httpServletRequest.getClass().getName(), "checkDataConstraints", "HttpServletRequest" });
                  return false;
              }
          }
          boolean result = false;
          try {
              final HashMap<String, Object> ho = new HashMap<String, Object>();
              final Subject s = subject;
              final String cid = contextId;
              final Permission p = webPerm;
              final HttpServletRequest r = req;
              result = checkResourceConstraints(cid, r, p, s, ho);
          } catch (PrivilegedActionException e) {
              Tr.error(tc, "JACC_WEB_IMPLIES_FAILURE", new Object[] { contextId, e.getException() });
          }
          return result;
      }