Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-4273

Check list of required imports

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • XSS Protection API 1.0.0
    • None
    • XSS Protection API
    • None

    Description

      This is the current list of required imports for the xss module:
      javax.annotation,
      javax.crypto,
      javax.crypto.spec,
      javax.mail.internet,
      javax.naming,j
      avax.servlet,
      javax.servlet.http,
      javax.servlet.jsp,
      javax.servlet.jsp.tagext,
      javax.sql,
      javax.swing,
      javax.swing.border,
      javax.swing.event,
      javax.swing.filechooser,
      javax.swing.table,
      javax.swing.text,
      javax.swing.tree,
      javax.xml.datatype,
      javax.xml.namespace,
      javax.xml.parsers,
      javax.xml.transform,
      javax.xml.transform.dom,
      javax.xml.transform.sax,
      javax.xml.transform.stream,
      javax.xml.validation,
      org.apache.commons.codec.binary,
      org.apache.commons.collections,
      org.apache.commons.collections.comparators,
      org.apache.commons.collections.iterators,
      org.apache.commons.collections.keyvalue,
      org.apache.commons.collections.list,
      org.apache.commons.collections.map,
      org.apache.commons.collections.set,
      org.apache.commons.fileupload,
      org.apache.commons.fileupload.disk,
      org.apache.commons.fileupload.servlet,
      org.apache.commons.fileupload.util,
      org.apache.commons.httpclient,
      org.apache.commons.httpclient.methods,
      org.apache.commons.httpclient.params,
      org.apache.commons.lang,
      org.apache.commons.lang.exception,
      org.apache.commons.lang.text,
      org.apache.commons.logging,
      org.apache.log4j,
      org.apache.sling.api;version="[2.1,3)",
      org.apache.sling.api.adapter;version="[2.2,3)",
      org.apache.sling.api.resource;version="[2.1,3)",
      org.apache.sling.commons.json;version="[2.0,3)",
      org.apache.sling.commons.json.io;version="[2.0,3)",
      org.apache.sling.xss;version="[1.0,1.1)",
      org.osgi.service.event;version="[1.1,2)",
      org.slf4j;version="[1.5,2)",
      org.w3c.dom,
      org.w3c.dom.css,
      org.w3c.dom.events,
      org.w3c.dom.html,
      org.w3c.dom.ls,
      org.w3c.dom.ranges,
      org.w3c.dom.traversal,
      org.w3c.dom.views,
      org.xml.sax,
      org.xml.sax.ext,
      org.xml.sax.helpers

      Some of them shouldn't really be required like javax.mail.internet or the jsp api; for others like the apache commons stuff it would be nice to have versioned imports

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cziegeler Carsten Ziegeler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: