Partha Sarathy Maripini created QPID-8775:
---------------------------------------------
Summary: [Broker-J] Refactor SSLUtil to dynamically resolve
certificate generator via QpidServiceLoader
Key: QPID-8775
URL: https://issues.apache.org/jira/browse/QPID-8775
Project: Qpid
Issue Type: Sub-task
Components: Broker-J
Reporter: Partha Sarathy Maripini
*Background:*
SSLUtil#generateSelfSignedCertificate currently instantiates Bouncy Castle
generator classes directly and relies on default provider fallback.
*Tasks:*
1. Replace static Bouncy Castle invocations in SSLUtil with dynamic lookup via
QpidServiceLoader / PluggableFactoryLoader.
2. Refactor AutoGeneratedSelfSignedKeyStoreImpl to invoke the generator
discovered through the SPI.
3. Remove static PROVIDER string fields and direct class bindings from SSLUtil.
*Acceptance Criteria:*
- SSLUtil delegates certificate generation to the discovered
CertificateGeneratorProvider.
- Hardcoded Bouncy Castle class instantiations are removed from SSLUtil.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]