https://bz.apache.org/bugzilla/show_bug.cgi?id=64186
Bug ID: 64186
Summary: Decrease usage of ThreadLocals in XML Signature API
Product: POI
Version: 4.1.x-dev
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: OPC
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
When implementing the DSign API, I thought I put all the configuration options
into SignatureConfig, also this class was designed with dependency injection in
mind. To cope with the per document configuration, I've introduced
ThreadLocals.
I think this is a design flaw, as the ThreadLocals seldom get cleared again and
so I would like to move the per document configuration into SignatureInfo.
I couldn't keep the internal API stable, but the usercode side should be stable
till POI 5.0. The code still contains the ThreadLocals, but when the usercodes
migrates to using SignatureInfo instead, the ThreadLocals stay left
uninitialized.
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]