Uploaded image for project: 'Santuario'
  1. Santuario
  2. SANTUARIO-344

XMLSignature keeps file-handle on xml-file

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • Java 1.5.1
    • Java 1.5.3
    • Java
    • Security Level: Public (Public issues, viewable by everyone)
    • None
    • Windows (XP, 7)

    Description

      When creating a signature based on a XML file (i.e. calling the method org.apache.xml.security.signature.XMLSignature.sign(Key signingKey)) the filehandle to the signed resource (the XML file) stays open after the method has finished (successfully).

      I was able to track it down to the above mentioned method, but then get lost somewhere at org.apache.xml.security.signature.Reference, which seems to use a cache for resource.

      Background: I want to delete the source-file after signature generation, which is not possible until the VM stops.

      Attachments

        Activity

          People

            coheigea Colm O hEigeartaigh
            burnyguru Andreas B.
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: