Uploaded image for project: 'Groovy'
  1. Groovy
  2. GROOVY-6441

Subpackages in SecureASTCustomizer whitelist/blacklists

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 2.2.0
    • None
    • GroovyScriptEngine
    • None

    Description

      When using the SecureASTCustomizer to specify a package whitelist or blacklist it'd be nice to be able to say "whitelist this package and all subpackages and classes", maybe using "java.io.**" as syntax.

      If that is not feasible, it'd be nice if normalizeStarImportsList(), assertStarImportIsAllowed(), assertImportIsAllowed() and assertStaticImportIsAllowed() were made protected instead of private so that they can be overriden.

      Attachments

        Activity

          People

            Unassigned Unassigned
            marcb Marc Bridner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: