Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8264277

java.xml.crypto module should be granted FilePermission and SocketPermission

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 17
    • None
    • security-libs
    • None

      When running under a Security Manager, validation and generation of XML Signatures may need to resolve References with file or http URLs. Thus, the module should be granted the appropriate permissions to access those resources. These calls should not be made privileged however (i.e. wrapped in AccessController.doPrivileged). The calling code (or all Protection Domains in the thread) would also need to be granted the appropriate permissions.

            weijun Weijun Wang
            mullan Sean Mullan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: