ottoka commented on pull request #750: URL: https://github.com/apache/james-project/pull/750#issuecomment-979399677
In the latest push I went with the second option. `Encryption` now has a method `createSSLEngine()` which applies the settings, and the object is passed through the protocol/implementation stack to wherever an engine needs to be created. This avoids the temporal coupling anti-pattern you mentioned. As a nice benefit it also should make things easier in case someone needs more settings to apply to the resulting SSLEngine. -- 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]
