@Override
    public InputSource resolveEntity(final String publicId, final String systemId)
        throws SAXException, IOException {
      try {
        final Matcher matcher = authzPattern.matcher(systemId);
        if (matcher.find()) {
          final String dtdName = matcher.group(0);
          final InputStream stream = XmlAuthorization.class.getResourceAsStream(dtdName);
          return new InputSource(stream);
        }

      } catch (Exception e) {
        // do nothing, use the default resolver
      }

      return null;
    }
Cache authorization information for all users statically. This method is not thread-safe and is
should either be invoked only once, or the caller should take the appropriate locks.

@param cache reference to the cache object for the distributed system
geode-dunit/src/main/java/org/apache/geode/security/templates/XmlAuthorization.java