Uploaded image for project: 'WSS4J'
  1. WSS4J
  2. WSS-614

org.apache.ws.security.transform.STRTransformProvider leak

VotersStop watchingWatchersLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.6.19, 2.0.10, 2.1.10
    • None
    • WSS4J Core
    • Java 1.8.0_131
      JBoss EAP 6.4.1

    Description

      A memory leak occur when undeploying a web application that uses WSS4J.

      The org.apache.ws.security.transform.STRTransformProvider is appended to java.security.Security at initialization in org.apache.ws.security.WSSConfig.init() but never removed.

      I've tested in wss4j-1.6.17 but I think it is the same in 1.6.19, 2.0.10 and 2.1.10.

      I've attached a screenshot of Eclipse MAT showing the leak.

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            coheigea Colm O hEigeartaigh
            leaqui Leandro Quiroga
            Votes:
            0 Vote for this issue
            Watchers:
            4 Stop watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment