coheigea opened a new pull request, #767: URL: https://github.com/apache/ws-wss4j/pull/767
…ered WSSConfig.cleanUp() and WSProviderConfig.cleanUp() removed the STRTransform, AttachmentContentSignatureTransform, AttachmentCompleteSignatureTransform, ApacheXMLDSig, BC and TLSP providers by name. When WSS4J is deployed in several web applications in the same JVM, undeploying one of them (e.g. via WssServletContextListener) removed providers that another application had registered and was still using. WSS4J now records the provider instances it registers, and cleanUp() only removes a provider if that instance is still the one registered under the name. As a side effect, a BC or TLSP provider that was already registered before init() is no longer removed by cleanUp(). WSSConfig.init() also logs a warning when it replaces a transform provider registered by a different class loader, recommending that WSS4J be deployed in a shared class loader. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
