You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2015/05/13 18:10:00 UTC

[jira] [Created] (CXF-6403) Potential memory leak in PolicyBasedWSS4JInInterceptor and AbstractWSS4JStaxInterceptor

Daniel Kulp created CXF-6403:
--------------------------------

             Summary: Potential memory leak in PolicyBasedWSS4JInInterceptor and AbstractWSS4JStaxInterceptor
                 Key: CXF-6403
                 URL: https://issues.apache.org/jira/browse/CXF-6403
             Project: CXF
          Issue Type: Bug
          Components: WS-* Components
            Reporter: Daniel Kulp
            Assignee: Daniel Kulp
             Fix For: 3.1.1



The AbstractWSS4JStaxInterceptor and PolicyBasedWSS4JStaxInInterceptor interceptors maintain a cache of crypto objects.  However, they are singletons (INSTANCE) and not destroyed when a service is shutdown.  Thus, the keystores and stuff that they maintain are never released.  Should be changed to non-singletons.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)